Created
January 6, 2017 07:12
-
-
Save mrmrcoleman/1a00d9bb66ef1815cd94057eec3d9201 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: '2' | |
# starts 4 docker containers running minio server instances. Each | |
# minio server's web interface will be accessible on the host at port | |
# 9001 through 9004. | |
services: | |
minio1: | |
hostname: minio1 | |
image: minio/minio:edge | |
size: s4 | |
ports: | |
- "9001:9000" | |
fip: <INSERT YOUR FIP HERE> | |
environment: | |
MINIO_ACCESS_KEY: minio | |
MINIO_SECRET_KEY: minio123 | |
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export | |
minio2: | |
hostname: minio2 | |
image: minio/minio:edge | |
size: s4 | |
ports: | |
- "9002:9000" | |
environment: | |
MINIO_ACCESS_KEY: minio | |
MINIO_SECRET_KEY: minio123 | |
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export | |
minio3: | |
hostname: minio3 | |
image: minio/minio:edge | |
size: s4 | |
ports: | |
- "9003:9000" | |
environment: | |
MINIO_ACCESS_KEY: minio | |
MINIO_SECRET_KEY: minio123 | |
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export | |
minio4: | |
hostname: minio4 | |
image: minio/minio:edge | |
size: s4 | |
ports: | |
- "9004:9000" | |
environment: | |
MINIO_ACCESS_KEY: minio | |
MINIO_SECRET_KEY: minio123 | |
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment