Created
May 10, 2018 10:55
-
-
Save rafaelsierra/eab0e3d06cfcdfb169a1179a2022371c 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.2" | |
services: | |
minio1: &minio | |
image: minio/minio | |
volumes: | |
- minio1-data:/export1 | |
- minio2-data:/export2 | |
- minio3-data:/export3 | |
- minio4-data:/export4 | |
ports: | |
- "9001:9000" | |
networks: | |
- minio | |
deploy: | |
restart_policy: | |
delay: 10s | |
max_attempts: 10 | |
window: 60s | |
command: > | |
server http://minio1/export1 http://minio1/export2 http://minio1/export3 http://minio1/export4 | |
http://minio2/export1 http://minio2/export2 http://minio2/export3 http://minio2/export4 | |
secrets: | |
- secret_key | |
- access_key | |
minio2: | |
<<: *minio | |
volumes: | |
- minio5-data:/export1 | |
- minio6-data:/export2 | |
- minio7-data:/export3 | |
- minio8-data:/export4 | |
ports: | |
- "9002:9000" | |
volumes: | |
minio1-data: | |
external: true | |
minio2-data: | |
external: true | |
minio3-data: | |
external: true | |
minio4-data: | |
external: true | |
minio5-data: | |
external: true | |
minio6-data: | |
external: true | |
minio7-data: | |
external: true | |
minio8-data: | |
external: true | |
networks: | |
minio: | |
driver: overlay | |
secrets: | |
secret_key: | |
external: | |
name: minio_secret_key | |
access_key: | |
external: | |
name: minio_access_key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment