save to disk every 5 minutes

This commit is contained in:
GooeyTuxedo 2023-04-18 17:02:29 -07:00
parent 08c71e3a60
commit 5c3e1fdd6a

View File

@ -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