mirror of
https://github.com/minio/minio.git
synced 2024-12-27 15:45:55 -05:00
39 lines
1.3 KiB
YAML
39 lines
1.3 KiB
YAML
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:
|
|
image: minio/minio:RELEASE.2017-03-16T21-50-32Z
|
|
ports:
|
|
- "9001:9000"
|
|
environment:
|
|
MINIO_ACCESS_KEY: minio
|
|
MINIO_SECRET_KEY: minio123
|
|
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
|
|
minio2:
|
|
image: minio/minio:RELEASE.2017-03-16T21-50-32Z
|
|
ports:
|
|
- "9002:9000"
|
|
environment:
|
|
MINIO_ACCESS_KEY: minio
|
|
MINIO_SECRET_KEY: minio123
|
|
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
|
|
minio3:
|
|
image: minio/minio:RELEASE.2017-03-16T21-50-32Z
|
|
ports:
|
|
- "9003:9000"
|
|
environment:
|
|
MINIO_ACCESS_KEY: minio
|
|
MINIO_SECRET_KEY: minio123
|
|
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
|
|
minio4:
|
|
image: minio/minio:RELEASE.2017-03-16T21-50-32Z
|
|
ports:
|
|
- "9004:9000"
|
|
environment:
|
|
MINIO_ACCESS_KEY: minio
|
|
MINIO_SECRET_KEY: minio123
|
|
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
|