feat: add searxng search service (#17)
continuous-integration/drone/push Build is passing Details

Co-authored-by: Davide Polonio <poloniodavide@gmail.com>
Reviewed-on: #17
Co-authored-by: polpetta <polpetta@poldebra.me>
Co-committed-by: polpetta <polpetta@poldebra.me>
pull/18/head
Davide Polonio 2023-03-25 19:24:00 +01:00
parent df3941f389
commit da401e9520
3 changed files with 54 additions and 0 deletions

1
.gitignore vendored
View File

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

View File

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

View File

@ -0,0 +1,48 @@
version: '3.7'
services:
redis:
container_name: redis
image: redis:7-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:2023.3.24-64fea2f9
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