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"
|
|
|
|
volumes:
|
|
|
|
- /mnt/export/minio1:/export
|
|
|
|
environment:
|
2016-10-06 16:35:56 -04:00
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2016-10-12 21:31:23 -04:00
|
|
|
command: server minio1:/export minio2:/export minio3:/export 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"
|
|
|
|
volumes:
|
|
|
|
- /mnt/export/minio2:/export
|
|
|
|
environment:
|
2016-10-06 16:35:56 -04:00
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2016-10-12 21:31:23 -04:00
|
|
|
command: server minio1:/export minio2:/export minio3:/export 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"
|
|
|
|
volumes:
|
|
|
|
- /mnt/export/minio3:/export
|
|
|
|
environment:
|
2016-10-06 16:35:56 -04:00
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2016-10-12 21:31:23 -04:00
|
|
|
command: server minio1:/export minio2:/export minio3:/export 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"
|
|
|
|
volumes:
|
|
|
|
- /mnt/export/minio4:/export
|
|
|
|
environment:
|
2016-10-06 16:35:56 -04:00
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio123
|
2016-10-12 21:31:23 -04:00
|
|
|
command: server minio1:/export minio2:/export minio3:/export minio4:/export
|