Change ports from 4000/4001 to 4500/4501
This commit is contained in:
@@ -172,7 +172,7 @@ log "Starting Shopify AI App Builder service and ttyd..."
|
||||
# /opt/webchat_v2 is just a wrapper and causes module loading failures
|
||||
CHAT_APP_DIR="${CHAT_APP_DIR:-/opt/webchat}"
|
||||
CHAT_APP_FALLBACK="/opt/webchat_v2"
|
||||
CHAT_PORT="${CHAT_PORT:-4000}"
|
||||
CHAT_PORT="${CHAT_PORT:-4500}"
|
||||
CHAT_HOST="${CHAT_HOST:-0.0.0.0}"
|
||||
ACCESS_PASSWORD="${ACCESS_PASSWORD:-}"
|
||||
|
||||
@@ -376,6 +376,6 @@ fi
|
||||
|
||||
# Start ttyd proxy instead of ttyd directly (on-demand activation)
|
||||
log "Starting ttyd proxy (on-demand mode)"
|
||||
log "ttyd will only run when port 4001 is accessed"
|
||||
log "ttyd will only run when port 4501 is accessed"
|
||||
log "Idle timeout: 5 minutes of inactivity"
|
||||
exec node /usr/local/bin/ttyd-proxy.js
|
||||
|
||||
Reference in New Issue
Block a user