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:
@ -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
|
||||
|
Reference in New Issue
Block a user