Skip to content

Commit

Permalink
chore: redis backup every hour
Browse files Browse the repository at this point in the history
  • Loading branch information
neilsong committed Nov 11, 2024
1 parent 8cbacbf commit 36cb26c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_services/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
volumes:
- /home/app/redis/prod-data:/data
environment:
- REDIS_ARGS=--save 60 1000 --appendonly yes
- REDIS_ARGS=--save 3600 500 --appendonly yes
healthcheck:
test: [ 'CMD', 'redis-cli', 'ping' ]
interval: 0.5s
Expand Down

0 comments on commit 36cb26c

Please sign in to comment.