Change Redis command
This commit is contained in:
parent
57adc3efbd
commit
2c1aec040b
|
@ -18,10 +18,10 @@ services:
|
||||||
- "./data/Caddyfile:/etc/caddy/Caddyfile:ro"
|
- "./data/Caddyfile:/etc/caddy/Caddyfile:ro"
|
||||||
- "./data/caddy-config:/config:rw"
|
- "./data/caddy-config:/config:rw"
|
||||||
- "./data/caddy-data:/data:rw"
|
- "./data/caddy-data:/data:rw"
|
||||||
cap_add:
|
|
||||||
- NET_BIND_SERVICE
|
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
|
cap_add:
|
||||||
|
- NET_BIND_SERVICE
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
{{ apps_shared_docker_network }}:
|
{{ apps_shared_docker_network }}:
|
||||||
|
|
|
@ -7,14 +7,14 @@ services:
|
||||||
redis:
|
redis:
|
||||||
image: redis:{{ apps_vars.searxng.redis_version }}
|
image: redis:{{ apps_vars.searxng.redis_version }}
|
||||||
restart: always
|
restart: always
|
||||||
command: redis-server --save 60 1 --appendonly no
|
command: redis-server --save 30 1 --loglevel warning
|
||||||
volumes:
|
volumes:
|
||||||
- "./data/redis:/data:rw"
|
- "./data/redis:/data:rw"
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
cap_add:
|
cap_add:
|
||||||
- SETUID
|
- SETUID
|
||||||
- SETGID
|
- SETGID
|
||||||
cap_drop:
|
|
||||||
- ALL
|
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: searxng/searxng:{{ apps_vars.searxng.version }}
|
image: searxng/searxng:{{ apps_vars.searxng.version }}
|
||||||
|
@ -28,11 +28,11 @@ services:
|
||||||
- searxng
|
- searxng
|
||||||
volumes:
|
volumes:
|
||||||
- "./data/settings.yml:/etc/searxng/settings.yml:ro"
|
- "./data/settings.yml:/etc/searxng/settings.yml:ro"
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
cap_add:
|
cap_add:
|
||||||
- SETUID
|
- SETUID
|
||||||
- SETGID
|
- SETGID
|
||||||
cap_drop:
|
|
||||||
- ALL
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue