@ -18,16 +18,15 @@ services:
placement:
constraints:
- node.labels.minio1==true
command : server http://minio1/export http://minio2/export http://minio3/export http://minio4 /export
command : server http://minio{1...4} /export
secrets:
- secret_key
- access_key
healthcheck:
test : [ "CMD" , "curl" , "-f" , "http://minio1 :9000/minio/health/live" ]
interval : 1m 30s
test : [ "CMD" , "curl" , "-f" , "http://localhost :9000/minio/health/live" ]
interval : 30s
timeout : 20s
retries : 3
start_period : 3m
minio2:
image : minio/minio:RELEASE.2019-08-29T00-25-01Z
@ -46,16 +45,15 @@ services:
placement:
constraints:
- node.labels.minio2==true
command : server http://minio1/export http://minio2/export http://minio3/export http://minio4 /export
command : server http://minio{1...4} /export
secrets:
- secret_key
- access_key
healthcheck:
test : [ "CMD" , "curl" , "-f" , "http://minio2 :9000/minio/health/live" ]
interval : 1m 30s
test : [ "CMD" , "curl" , "-f" , "http://localhost :9000/minio/health/live" ]
interval : 30s
timeout : 20s
retries : 3
start_period : 3m
minio3:
image : minio/minio:RELEASE.2019-08-29T00-25-01Z
@ -74,16 +72,15 @@ services:
placement:
constraints:
- node.labels.minio3==true
command : server http://minio1/export http://minio2/export http://minio3/export http://minio4 /export
command : server http://minio{1...4} /export
secrets:
- secret_key
- access_key
healthcheck:
test : [ "CMD" , "curl" , "-f" , "http://minio3 :9000/minio/health/live" ]
interval : 1m 30s
test : [ "CMD" , "curl" , "-f" , "http://localhost :9000/minio/health/live" ]
interval : 30s
timeout : 20s
retries : 3
start_period : 3m
minio4:
image : minio/minio:RELEASE.2019-08-29T00-25-01Z
@ -102,16 +99,15 @@ services:
placement:
constraints:
- node.labels.minio4==true
command : server http://minio1/export http://minio2/export http://minio3/export http://minio4 /export
command : server http://minio{1...4} /export
secrets:
- secret_key
- access_key
healthcheck:
test : [ "CMD" , "curl" , "-f" , "http://minio4 :9000/minio/health/live" ]
interval : 1m 30s
test : [ "CMD" , "curl" , "-f" , "http://localhost :9000/minio/health/live" ]
interval : 30s
timeout : 20s
retries : 3
start_period : 3m
volumes:
minio1-data: