deploy: restore configurable publish bind

This commit is contained in:
a.tolmachev
2026-04-11 13:33:04 +03:00
parent 2b81d9fc3b
commit 665ad906ec
5 changed files with 9 additions and 3 deletions
+3 -3
View File
@@ -46,7 +46,7 @@ services:
volumes:
- artifact_storage:${CRANK_STORAGE_ROOT:-/var/lib/crank/storage}
ports:
- "127.0.0.1:3001:3001"
- "${CRANK_PUBLISH_BIND:-127.0.0.1}:3001:3001"
healthcheck:
test: ["CMD", "curl", "--fail", "http://127.0.0.1:3001/health"]
interval: 15s
@@ -77,7 +77,7 @@ services:
volumes:
- artifact_storage:${CRANK_STORAGE_ROOT:-/var/lib/crank/storage}
ports:
- "127.0.0.1:3002:3002"
- "${CRANK_PUBLISH_BIND:-127.0.0.1}:3002:3002"
healthcheck:
test: ["CMD", "curl", "--fail", "http://127.0.0.1:3002/health"]
interval: 15s
@@ -91,7 +91,7 @@ services:
dockerfile: apps/ui/Dockerfile
restart: unless-stopped
ports:
- "127.0.0.1:3000:3000"
- "${CRANK_PUBLISH_BIND:-127.0.0.1}:3000:3000"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/"]
interval: 15s