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

View File

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