searxng new compose
This commit is contained in:
parent
3df1f7f2d1
commit
f27e2f040b
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user