1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Save Redis data to disk

This commit is contained in:
Maksym Pavlenko
2019-03-31 21:09:59 -07:00
parent 344981f903
commit 9b8549871f

View File

@ -32,8 +32,12 @@ services:
redis:
image: redis:5.0.3
container_name: redis
command: redis-server --appendonly no --save ""
command: redis-server --appendonly no --save 900 1 --save 300 10 --save 60 10000
restart: always
volumes:
- /data/redis:/data
sysctls:
net.core.somaxconn: 1024
nginx:
image: mxpv/nginx:latest
container_name: nginx