fix: make published service host configurable

This commit is contained in:
a.tolmachev
2026-03-25 22:22:22 +03:00
parent 9e157be116
commit 6ad8676cf1
4 changed files with 18 additions and 10 deletions
+3 -3
View File
@@ -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