Last active
October 23, 2018 14:44
-
-
Save bkatiemills/f072572490e0bd8073c26821f303a939 to your computer and use it in GitHub Desktop.
This file contains hidden or 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.1' | |
services: | |
minio1: | |
image: minio/minio:RELEASE.2018-10-18T00-28-58Z | |
hostname: minio1 | |
volumes: | |
- minio1-data:/export | |
ports: | |
- "9001:9000" | |
networks: | |
- minio_distributed | |
deploy: | |
restart_policy: | |
delay: 10s | |
max_attempts: 10 | |
window: 60s | |
placement: | |
constraints: | |
- node.labels.minio1==true | |
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export | |
secrets: | |
- secret_key | |
- access_key | |
minio2: | |
image: minio/minio:RELEASE.2018-10-18T00-28-58Z | |
hostname: minio2 | |
volumes: | |
- minio2-data:/export | |
ports: | |
- "9002:9000" | |
networks: | |
- minio_distributed | |
deploy: | |
restart_policy: | |
delay: 10s | |
max_attempts: 10 | |
window: 60s | |
placement: | |
constraints: | |
- node.labels.minio2==true | |
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export | |
secrets: | |
- secret_key | |
- access_key | |
minio3: | |
image: minio/minio:RELEASE.2018-10-18T00-28-58Z | |
hostname: minio3 | |
volumes: | |
- minio3-data:/export | |
ports: | |
- "9003:9000" | |
networks: | |
- minio_distributed | |
deploy: | |
restart_policy: | |
delay: 10s | |
max_attempts: 10 | |
window: 60s | |
placement: | |
constraints: | |
- node.labels.minio3==true | |
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export | |
secrets: | |
- secret_key | |
- access_key | |
minio4: | |
image: minio/minio:RELEASE.2018-10-18T00-28-58Z | |
hostname: minio4 | |
volumes: | |
- minio4-data:/export | |
ports: | |
- "9004:9000" | |
networks: | |
- minio_distributed | |
deploy: | |
restart_policy: | |
delay: 10s | |
max_attempts: 10 | |
window: 60s | |
placement: | |
constraints: | |
- node.labels.minio4==true | |
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export | |
secrets: | |
- secret_key | |
- access_key | |
volumes: | |
minio1-data: | |
minio2-data: | |
minio3-data: | |
minio4-data: | |
networks: | |
minio_distributed: | |
driver: overlay | |
secrets: | |
secret_key: | |
external: true | |
access_key: | |
external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment