feat: add searxng search service
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

pull/17/head
Davide Polonio 2023-03-25 19:14:29 +01:00
parent df3941f389
commit a015f5e23b
3 changed files with 54 additions and 0 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ env-*
config/
.env
.idea/
env-searxng

View File

@ -16,6 +16,11 @@ services:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy"
networks:
- proxy
logging:
driver: "json-file"
options:
max-size: "5m"
max-file: "3"
nginx-letsencript:
image: jrcs/letsencrypt-nginx-proxy-companion:latest

View File

@ -0,0 +1,48 @@
version: '3.7'
services:
redis:
container_name: redis
image: "redis:alpine"
command: redis-server --save "" --appendonly "no"
restart: unless-stopped
networks:
- searxng
tmpfs:
- /var/lib/redis
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
searxng:
container_name: searxng
image: searxng/searxng:latest
restart: unless-stopped
networks:
- searxng
- proxy
volumes:
- /srv/docker/searxng:/etc/searxng:rw
env_file:
- env-searxng
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
networks:
searxng:
ipam:
driver: default
proxy:
external: true