save to disk every 5 minutes
This commit is contained in:
parent
08c71e3a60
commit
5c3e1fdd6a
@ -7,11 +7,11 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- redisdb:/data
|
||||
command: redis-server --save 900 1 --appendonly yes
|
||||
command: redis-server --save 300 1 --appendonly yes
|
||||
environment:
|
||||
- REDIS_REPLICATION_MODE=master
|
||||
- REDIS_APPENDONLY=yes
|
||||
- REDIS_SAVE=900 1
|
||||
- REDIS_SAVE=300 1
|
||||
gwei-alert-bot:
|
||||
depends_on:
|
||||
- gwei-bot-redis
|
||||
|
Loading…
Reference in New Issue
Block a user