2016-09-02 01:35:26 +02: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-05-08 03:58:24 +02:00
|
|
|
image: minio/minio:RELEASE.2017-05-05T01-14-51Z
|
2016-09-02 01:35:26 +02:00
|
|
|
ports:
|
|
|
|
- "9001:9000"
|
|
|
|
environment:
|
2016-10-06 22:35:56 +02:00
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2016-11-19 19:42:22 +01:00
|
|
|
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
|
2016-09-02 01:35:26 +02:00
|
|
|
minio2:
|
2017-05-08 03:58:24 +02:00
|
|
|
image: minio/minio:RELEASE.2017-05-05T01-14-51Z
|
2016-09-02 01:35:26 +02:00
|
|
|
ports:
|
|
|
|
- "9002:9000"
|
|
|
|
environment:
|
2016-10-06 22:35:56 +02:00
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2016-11-19 19:42:22 +01:00
|
|
|
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
|
2016-09-02 01:35:26 +02:00
|
|
|
minio3:
|
2017-05-08 03:58:24 +02:00
|
|
|
image: minio/minio:RELEASE.2017-05-05T01-14-51Z
|
2016-09-02 01:35:26 +02:00
|
|
|
ports:
|
|
|
|
- "9003:9000"
|
|
|
|
environment:
|
2016-10-06 22:35:56 +02:00
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2016-11-19 19:42:22 +01:00
|
|
|
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
|
2016-09-02 01:35:26 +02:00
|
|
|
minio4:
|
2017-05-08 03:58:24 +02:00
|
|
|
image: minio/minio:RELEASE.2017-05-05T01-14-51Z
|
2016-09-02 01:35:26 +02:00
|
|
|
ports:
|
|
|
|
- "9004:9000"
|
|
|
|
environment:
|
2016-10-06 22:35:56 +02:00
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2016-11-19 19:42:22 +01:00
|
|
|
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
|