Created
November 5, 2024 21:04
-
-
Save kioritanaka/60d4be6d00282fd834d650709b462f12 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: | |
- '6380:6379' | |
command: redis-server --cluster-enabled yes --save 20 1 --loglevel warning --cluster-announce-ip 127.0.0.1 --cluster-announce-port 6380 | |
volumes: | |
- cache:/data | |
cache2: | |
image: redis:latest | |
ports: | |
- '6381:6379' | |
command: redis-server --cluster-enabled yes --save 20 1 --loglevel warning --cluster-announce-ip 127.0.0.1 --cluster-announce-port 6381 | |
volumes: | |
- cache2:/data | |
cache3: | |
image: redis:latest | |
ports: | |
- '6382:6379' | |
command: redis-server --cluster-enabled yes --save 20 1 --loglevel warning --cluster-announce-ip 127.0.0.1 --cluster-announce-port 6382 | |
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