2017-03-09 17:06:51 -05:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
minio1:
|
2018-05-16 19:39:52 -04:00
|
|
|
image: minio/minio:RELEASE.2018-05-16T23-35-33Z
|
2017-03-09 17:06:51 -05:00
|
|
|
volumes:
|
|
|
|
- minio1-data:/export
|
|
|
|
ports:
|
|
|
|
- "9001:9000"
|
|
|
|
networks:
|
|
|
|
- minio_distributed
|
|
|
|
environment:
|
|
|
|
MINIO_ACCESS_KEY: AKIAIOSFODNN7EXAMPLE
|
|
|
|
MINIO_SECRET_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
|
|
|
|
deploy:
|
|
|
|
restart_policy:
|
|
|
|
delay: 10s
|
|
|
|
max_attempts: 10
|
|
|
|
window: 60s
|
|
|
|
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
|
|
|
|
|
|
|
|
minio2:
|
2018-05-16 19:39:52 -04:00
|
|
|
image: minio/minio:RELEASE.2018-05-16T23-35-33Z
|
2017-03-09 17:06:51 -05:00
|
|
|
volumes:
|
|
|
|
- minio2-data:/export
|
|
|
|
ports:
|
|
|
|
- "9002:9000"
|
|
|
|
networks:
|
|
|
|
- minio_distributed
|
|
|
|
environment:
|
|
|
|
MINIO_ACCESS_KEY: AKIAIOSFODNN7EXAMPLE
|
|
|
|
MINIO_SECRET_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
|
|
|
|
deploy:
|
|
|
|
restart_policy:
|
|
|
|
delay: 10s
|
|
|
|
max_attempts: 10
|
|
|
|
window: 60s
|
|
|
|
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
|
|
|
|
|
|
|
|
minio3:
|
2018-05-16 19:39:52 -04:00
|
|
|
image: minio/minio:RELEASE.2018-05-16T23-35-33Z
|
2017-03-09 17:06:51 -05:00
|
|
|
volumes:
|
|
|
|
- minio3-data:/export
|
|
|
|
ports:
|
|
|
|
- "9003:9000"
|
|
|
|
networks:
|
|
|
|
- minio_distributed
|
|
|
|
environment:
|
|
|
|
MINIO_ACCESS_KEY: AKIAIOSFODNN7EXAMPLE
|
|
|
|
MINIO_SECRET_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
|
|
|
|
deploy:
|
|
|
|
restart_policy:
|
|
|
|
delay: 10s
|
|
|
|
max_attempts: 10
|
|
|
|
window: 60s
|
|
|
|
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
|
|
|
|
|
|
|
|
minio4:
|
2018-05-16 19:39:52 -04:00
|
|
|
image: minio/minio:RELEASE.2018-05-16T23-35-33Z
|
2017-03-09 17:06:51 -05:00
|
|
|
volumes:
|
|
|
|
- minio4-data:/export
|
|
|
|
ports:
|
|
|
|
- "9004:9000"
|
|
|
|
networks:
|
|
|
|
- minio_distributed
|
|
|
|
environment:
|
|
|
|
MINIO_ACCESS_KEY: AKIAIOSFODNN7EXAMPLE
|
|
|
|
MINIO_SECRET_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
|
|
|
|
deploy:
|
|
|
|
restart_policy:
|
|
|
|
delay: 10s
|
|
|
|
max_attempts: 10
|
|
|
|
window: 60s
|
|
|
|
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
minio1-data:
|
|
|
|
|
|
|
|
minio2-data:
|
|
|
|
|
|
|
|
minio3-data:
|
|
|
|
|
|
|
|
minio4-data:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
minio_distributed:
|
|
|
|
driver: overlay
|