mirror of
https://github.com/minio/minio.git
synced 2025-11-25 12:06:10 -05:00
This commit is contained in:
committed by
Nitish Tiwari
parent
83d8e01c81
commit
fae284d6b9
@@ -3,6 +3,7 @@ version: '3.1'
|
||||
services:
|
||||
minio1:
|
||||
image: minio/minio:RELEASE.2018-10-06T00-15-16Z
|
||||
hostname: minio1
|
||||
volumes:
|
||||
- minio1-data:/export
|
||||
ports:
|
||||
@@ -14,6 +15,9 @@ services:
|
||||
delay: 10s
|
||||
max_attempts: 10
|
||||
window: 60s
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.minio1==true
|
||||
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
|
||||
secrets:
|
||||
- secret_key
|
||||
@@ -21,6 +25,7 @@ services:
|
||||
|
||||
minio2:
|
||||
image: minio/minio:RELEASE.2018-10-06T00-15-16Z
|
||||
hostname: minio2
|
||||
volumes:
|
||||
- minio2-data:/export
|
||||
ports:
|
||||
@@ -32,6 +37,9 @@ services:
|
||||
delay: 10s
|
||||
max_attempts: 10
|
||||
window: 60s
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.minio2==true
|
||||
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
|
||||
secrets:
|
||||
- secret_key
|
||||
@@ -39,6 +47,7 @@ services:
|
||||
|
||||
minio3:
|
||||
image: minio/minio:RELEASE.2018-10-06T00-15-16Z
|
||||
hostname: minio3
|
||||
volumes:
|
||||
- minio3-data:/export
|
||||
ports:
|
||||
@@ -50,6 +59,9 @@ services:
|
||||
delay: 10s
|
||||
max_attempts: 10
|
||||
window: 60s
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.minio3==true
|
||||
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
|
||||
secrets:
|
||||
- secret_key
|
||||
@@ -57,6 +69,7 @@ services:
|
||||
|
||||
minio4:
|
||||
image: minio/minio:RELEASE.2018-10-06T00-15-16Z
|
||||
hostname: minio4
|
||||
volumes:
|
||||
- minio4-data:/export
|
||||
ports:
|
||||
@@ -68,6 +81,9 @@ services:
|
||||
delay: 10s
|
||||
max_attempts: 10
|
||||
window: 60s
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.minio4==true
|
||||
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
|
||||
secrets:
|
||||
- secret_key
|
||||
|
||||
Reference in New Issue
Block a user