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