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:
|
2016-09-22 12:55:35 -04:00
|
|
|
image: minio/minio:edge
|
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-10-29 19:53:09 -04:00
|
|
|
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
|
2016-09-01 19:35:26 -04:00
|
|
|
minio2:
|
2016-09-22 12:55:35 -04:00
|
|
|
image: minio/minio:edge
|
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-10-29 19:53:09 -04:00
|
|
|
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
|
2016-09-01 19:35:26 -04:00
|
|
|
minio3:
|
2016-09-22 12:55:35 -04:00
|
|
|
image: minio/minio:edge
|
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-10-29 19:53:09 -04:00
|
|
|
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
|
2016-09-01 19:35:26 -04:00
|
|
|
minio4:
|
2016-09-22 12:55:35 -04:00
|
|
|
image: minio/minio:edge
|
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-10-29 19:53:09 -04:00
|
|
|
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
|