diff --git a/modules/minio/module.json b/modules/minio/module.json index 8b1a05a..6a07e40 100644 --- a/modules/minio/module.json +++ b/modules/minio/module.json @@ -7,6 +7,21 @@ "scope": "mesh" } ], + "requires": [ + "route" + ], + "contributes": { + "route": { + "api": { + "label": "files-api", + "port": 9000 + }, + "console": { + "label": "files", + "port": 9001 + } + } + }, "capabilities": [ "container-runtime" ], @@ -20,6 +35,12 @@ "protocol": "tcp", "from": "mesh", "why": "the S3 endpoint" + }, + { + "port": 9001, + "protocol": "tcp", + "from": "mesh", + "why": "the admin console" } ], "serves": { @@ -92,7 +113,8 @@ "/var/lib/minio/root.env" ], "ports": [ - "9000" + "9000", + "9001" ], "volumes": [ "/var/lib/minio-store:/data",