Created
December 14, 2018 08:58
-
-
Save tokutoku3/2a773f49ae5f30661eb1583e576873c8 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
version: '3' | |
services: | |
redis-cluster: | |
image: grokzen/redis-cluster | |
environment: | |
IP: 127.0.0.1 # docker for macだとこれ必要 | |
ports: | |
# デフォルト設定でclusterとして扱えるポートは下記 | |
- '6379:6379' | |
- '5000:5000' | |
- '5001:5001' | |
- '5002:5002' | |
- '7000:7000' | |
- '7001:7001' | |
- '7002:7002' | |
- '7003:7003' | |
- '7004:7004' | |
- '7005:7005' | |
- '7006:7006' | |
- '7007:7007' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment