searxng new compose

This commit is contained in:
Arya 2023-11-28 23:11:50 +05:30
parent 3df1f7f2d1
commit f27e2f040b
Signed by: arya
GPG Key ID: 842D12BDA50DF120
1 changed files with 7 additions and 4 deletions

View File

@ -4,12 +4,12 @@ services:
redis:
restart: unless-stopped
container_name: 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:
@ -46,3 +46,6 @@ networks:
searxng:
ipam:
driver: default
volumes:
redis_data: