minio: name the network minio-net, not minio
Collided with the LB container's own name. docker inspect minio resolved to the network instead of the (not-yet-created) container, and mesh-host's existence check crashed on the mismatched shape rather than reporting absence -- a real mesh-host bug (fixed separately, mesh-host#25), but this sidesteps it here without waiting on a host-level binary update.
This commit is contained in:
@@ -102,14 +102,14 @@
|
||||
{
|
||||
"id": "net",
|
||||
"type": "network",
|
||||
"name": "minio"
|
||||
"name": "minio-net"
|
||||
},
|
||||
{
|
||||
"id": "minio1",
|
||||
"type": "container",
|
||||
"name": "minio1",
|
||||
"image": "docker.io/pgsty/minio@sha256:b6bfe7239bfc83fb90d31612d9704d86039dd714f7904b3f1ad68f211e602372",
|
||||
"network": "minio",
|
||||
"network": "minio-net",
|
||||
"args": ["server", "--console-address", ":9001", "http://minio{1...4}/data{1...2}"],
|
||||
"env-file": ["/var/lib/minio/root.env"],
|
||||
"volumes": [
|
||||
@@ -128,7 +128,7 @@
|
||||
"type": "container",
|
||||
"name": "minio2",
|
||||
"image": "docker.io/pgsty/minio@sha256:b6bfe7239bfc83fb90d31612d9704d86039dd714f7904b3f1ad68f211e602372",
|
||||
"network": "minio",
|
||||
"network": "minio-net",
|
||||
"args": ["server", "--console-address", ":9001", "http://minio{1...4}/data{1...2}"],
|
||||
"env-file": ["/var/lib/minio/root.env"],
|
||||
"volumes": [
|
||||
@@ -147,7 +147,7 @@
|
||||
"type": "container",
|
||||
"name": "minio3",
|
||||
"image": "docker.io/pgsty/minio@sha256:b6bfe7239bfc83fb90d31612d9704d86039dd714f7904b3f1ad68f211e602372",
|
||||
"network": "minio",
|
||||
"network": "minio-net",
|
||||
"args": ["server", "--console-address", ":9001", "http://minio{1...4}/data{1...2}"],
|
||||
"env-file": ["/var/lib/minio/root.env"],
|
||||
"volumes": [
|
||||
@@ -166,7 +166,7 @@
|
||||
"type": "container",
|
||||
"name": "minio4",
|
||||
"image": "docker.io/pgsty/minio@sha256:b6bfe7239bfc83fb90d31612d9704d86039dd714f7904b3f1ad68f211e602372",
|
||||
"network": "minio",
|
||||
"network": "minio-net",
|
||||
"args": ["server", "--console-address", ":9001", "http://minio{1...4}/data{1...2}"],
|
||||
"env-file": ["/var/lib/minio/root.env"],
|
||||
"volumes": [
|
||||
@@ -185,7 +185,7 @@
|
||||
"type": "container",
|
||||
"name": "minio",
|
||||
"image": "docker.io/library/nginx@sha256:985220252f3863977e468f611ef118ebd01421289dd86ee1ae99cb068c3bce2b",
|
||||
"network": "minio",
|
||||
"network": "minio-net",
|
||||
"ports": ["9000", "9001"],
|
||||
"volumes": [
|
||||
"/var/lib/minio/nginx.conf:/etc/nginx/nginx.conf:ro"
|
||||
@@ -195,7 +195,7 @@
|
||||
"id": "runtime",
|
||||
"type": "container",
|
||||
"name": "mesh-minio",
|
||||
"network": "minio",
|
||||
"network": "minio-net",
|
||||
"volumes": [
|
||||
"/var/lib/mesh/minio/broker:/run/secrets/broker:ro",
|
||||
"/var/lib/minio/grants:/var/lib/minio/grants:ro",
|
||||
|
||||
Reference in New Issue
Block a user