Change Redis command

This commit is contained in:
Sam A. 2024-02-10 15:49:18 +01:00
parent 57adc3efbd
commit 2c1aec040b
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
2 changed files with 7 additions and 7 deletions

View File

@ -18,10 +18,10 @@ services:
- "./data/Caddyfile:/etc/caddy/Caddyfile:ro"
- "./data/caddy-config:/config:rw"
- "./data/caddy-data:/data:rw"
cap_add:
- NET_BIND_SERVICE
cap_drop:
- ALL
cap_add:
- NET_BIND_SERVICE
networks:
{{ apps_shared_docker_network }}:

View File

@ -7,14 +7,14 @@ services:
redis:
image: redis:{{ apps_vars.searxng.redis_version }}
restart: always
command: redis-server --save 60 1 --appendonly no
command: redis-server --save 30 1 --loglevel warning
volumes:
- "./data/redis:/data:rw"
cap_drop:
- ALL
cap_add:
- SETUID
- SETGID
cap_drop:
- ALL
app:
image: searxng/searxng:{{ apps_vars.searxng.version }}
@ -28,11 +28,11 @@ services:
- searxng
volumes:
- "./data/settings.yml:/etc/searxng/settings.yml:ro"
cap_drop:
- ALL
cap_add:
- SETUID
- SETGID
cap_drop:
- ALL
depends_on:
- redis