Created
January 12, 2024 15:57
-
-
Save Antardas/bb1767d099ec43c0b532b2a46e837a66 to your computer and use it in GitHub Desktop.
Redis Data Persistent AOF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
redis: | |
image: redis:latest | |
container_name: docs-cache | |
restart: on-failure | |
ports: | |
- 6379:6379 | |
volumes: | |
- ./storage/redis:/data | |
command: redis-server --appendonly yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment