feat: add searxng search service #17
|
@ -2,3 +2,4 @@ env-*
|
|||
config/
|
||||
.env
|
||||
.idea/
|
||||
env-searxng
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Reference in New Issue