2016-09-01 19:35:26 -04:00
|
|
|
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:
|
2017-03-28 16:54:19 -04:00
|
|
|
image: minio/minio:RELEASE.2017-03-16T21-50-32Z
|
2016-09-01 19:35:26 -04:00
|
|
|
ports:
|
|
|
|
- "9001:9000"
|
|
|
|
environment:
|
2016-10-06 16:35:56 -04:00
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2016-11-19 13:42:22 -05:00
|
|
|
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
|
2016-09-01 19:35:26 -04:00
|
|
|
minio2:
|
2017-03-28 16:54:19 -04:00
|
|
|
image: minio/minio:RELEASE.2017-03-16T21-50-32Z
|
2016-09-01 19:35:26 -04:00
|
|
|
ports:
|
|
|
|
- "9002:9000"
|
|
|
|
environment:
|
2016-10-06 16:35:56 -04:00
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2016-11-19 13:42:22 -05:00
|
|
|
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
|
2016-09-01 19:35:26 -04:00
|
|
|
minio3:
|
2017-03-28 16:54:19 -04:00
|
|
|
image: minio/minio:RELEASE.2017-03-16T21-50-32Z
|
2016-09-01 19:35:26 -04:00
|
|
|
ports:
|
|
|
|
- "9003:9000"
|
|
|
|
environment:
|
2016-10-06 16:35:56 -04:00
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2016-11-19 13:42:22 -05:00
|
|
|
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
|
2016-09-01 19:35:26 -04:00
|
|
|
minio4:
|
2017-03-28 16:54:19 -04:00
|
|
|
image: minio/minio:RELEASE.2017-03-16T21-50-32Z
|
2016-09-01 19:35:26 -04:00
|
|
|
ports:
|
|
|
|
- "9004:9000"
|
|
|
|
environment:
|
2016-10-06 16:35:56 -04:00
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2016-11-19 13:42:22 -05:00
|
|
|
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
|