Created
November 5, 2024 16:00
-
-
Save kioritanaka/7caa53a19c5d4a0954f03c47c75e3725 to your computer and use it in GitHub Desktop.
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
services: | |
cache: | |
image: redis:latest | |
ports: | |
- '6379:6379' | |
command: redis-server --cluster-enabled yes --save 20 1 --loglevel warning | |
volumes: | |
- cache:/data | |
cache2: | |
image: redis:latest | |
ports: | |
- '6380:6379' | |
command: redis-server --cluster-enabled yes --save 20 1 --loglevel warning | |
volumes: | |
- cache2:/data | |
cache3: | |
image: redis:latest | |
ports: | |
- '6381:6379' | |
command: redis-server --cluster-enabled yes --save 20 1 --loglevel warning | |
volumes: | |
- cache3:/data | |
volumes: | |
cache: | |
driver: local | |
cache2: | |
driver: local | |
cache3: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment