Skip to content

Instantly share code, notes, and snippets.

@atomicleads
Created February 4, 2017 21:29
Show Gist options
  • Save atomicleads/08d6567e75a77823e1c157134b29357d to your computer and use it in GitHub Desktop.
Save atomicleads/08d6567e75a77823e1c157134b29357d to your computer and use it in GitHub Desktop.
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
ports:
- "9000:9000"
volumes:
- /mnt/small/minio:/export
- /mnt/small/minio:/root/.minio
environment:
MINIO_ACCESS_KEY: DNL2HNQ3IG1POMFU1MRN
MINIO_SECRET_KEY: wIqU7NxqBvFTgR42xhwihmKlJDKhNS7XjWKVHzAr
command: server http://minio1/export http://minio2/export http://minio3/export http://192.168.220.1/export
minio2:
image: minio/minio
ports:
- "9001:9000"
volumes:
- /mnt/own/minio:/export
- /mnt/own/minio:/root/.minio
environment:
MINIO_ACCESS_KEY: DNL2HNQ3IG1POMFU1MRN
MINIO_SECRET_KEY: wIqU7NxqBvFTgR42xhwihmKlJDKhNS7XjWKVHzAr
command: server http://minio1/export http://minio2/export http://minio3/export http://192.168.220.1/export
minio3:
image: minio/minio
ports:
- "9002:9000"
volumes:
- /mnt/large/minio:/export
- /mnt/large/minio:/root/.minio
environment:
MINIO_ACCESS_KEY: DNL2HNQ3IG1POMFU1MRN
MINIO_SECRET_KEY: wIqU7NxqBvFTgR42xhwihmKlJDKhNS7XjWKVHzAr
command: server http://minio1/export http://minio2/export http://minio3/export http://192.168.220.1/export
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment