fix(docker): honor HINDSIGHT_CP_HOSTNAME for control-plane startup (#590)
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
e7da7d0e4f
commit
8a64dc8db6
1 changed files with 1 additions and 0 deletions
|
|
@ -111,6 +111,7 @@ fi
|
||||||
if [ "$ENABLE_CP" = "true" ]; then
|
if [ "$ENABLE_CP" = "true" ]; then
|
||||||
echo "🎛️ Starting Control Plane..."
|
echo "🎛️ Starting Control Plane..."
|
||||||
cd /app/control-plane
|
cd /app/control-plane
|
||||||
|
export HOSTNAME="${HINDSIGHT_CP_HOSTNAME:-0.0.0.0}"
|
||||||
PORT="${HINDSIGHT_CP_PORT:-9999}" node server.js &
|
PORT="${HINDSIGHT_CP_PORT:-9999}" node server.js &
|
||||||
CP_PID=$!
|
CP_PID=$!
|
||||||
PIDS+=($CP_PID)
|
PIDS+=($CP_PID)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue