fix: make published service host configurable
This commit is contained in:
+3
-3
@@ -33,7 +33,7 @@ services:
|
||||
volumes:
|
||||
- artifact_storage:${MCPAAS_STORAGE_ROOT:-/var/lib/rmcp/storage}
|
||||
ports:
|
||||
- "127.0.0.1:3001:3001"
|
||||
- "${MCPAAS_PUBLISH_HOST:-127.0.0.1}:3001:3001"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "--fail", "http://127.0.0.1:3001/health"]
|
||||
interval: 15s
|
||||
@@ -57,7 +57,7 @@ services:
|
||||
volumes:
|
||||
- artifact_storage:${MCPAAS_STORAGE_ROOT:-/var/lib/rmcp/storage}
|
||||
ports:
|
||||
- "127.0.0.1:3002:3002"
|
||||
- "${MCPAAS_PUBLISH_HOST:-127.0.0.1}:3002:3002"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "--fail", "http://127.0.0.1:3002/health"]
|
||||
interval: 15s
|
||||
@@ -70,7 +70,7 @@ services:
|
||||
dockerfile: apps/ui/Dockerfile
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
- "${MCPAAS_PUBLISH_HOST:-127.0.0.1}:3000:3000"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/"]
|
||||
interval: 15s
|
||||
|
||||
Reference in New Issue
Block a user