SearXNG: Added persistant redis data volume

This commit is contained in:
Viyurz 2023-11-29 08:49:51 +00:00
parent 9de094f09f
commit e232eb47d9
No known key found for this signature in database

View file

@ -1,12 +1,12 @@
services:
redis:
container_name: searxng_redis
image: redis:alpine
command: redis-server --save "" --appendonly "no"
image: docker.io/library/redis:alpine
command: redis-server --save 30 1 --loglevel warning
networks:
- searxng
tmpfs:
- /var/lib/redis
volumes:
- redis-data:/data
cap_drop:
- ALL
cap_add:
@ -42,3 +42,6 @@ networks:
searxng:
ipam:
driver: default
volumes:
redis-data: