Skip to content

Commit

Permalink
Add support for service URL
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Mar 22, 2024
1 parent e740bb0 commit 129cffa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/COPY_ROOT/opt/ai-dock/bin/supervisor-comfyui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ trap cleanup EXIT

LISTEN_PORT=${COMFYUI_PORT_LOCAL:-18188}
METRICS_PORT=${COMFYUI_METRICS_PORT:-28188}
PROXY_SECURE=true
SERVICE_URL="${COMFYUI_URL:-}"
QUICKTUNNELS=true

function cleanup() {
Expand All @@ -29,6 +29,7 @@ function start() {
--arg proxy_port "${PROXY_PORT}" \
--arg proxy_secure "${PROXY_SECURE,,}" \
--arg service_name "${SERVICE_NAME}" \
--arg service_url "${SERVICE_URL}" \
'$ARGS.named'
)"

Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,16 @@ services:
- SSH_PORT_HOST=${SSH_PORT_HOST:-2222}
- SERVICEPORTAL_PORT_HOST=${SERVICEPORTAL_PORT_HOST:-1111}
- SERVICEPORTAL_METRICS_PORT=${SERVICEPORTAL_METRICS_PORT:-21111}
- SERVICEPORTAL_URL=${SERVICEPORTAL_URL:-}
- COMFYUI_FLAGS=${COMFYUI_FLAGS:-}
- COMFYUI_PORT_HOST=${COMFYUI_PORT_HOST:-8188}
- COMFYUI_METRICS_PORT=${COMFYUI_METRICS_PORT:-28188}
- COMFYUI_URL=${COMFYUI_URL:-}
- JUPYTER_PORT_HOST=${JUPYTER_PORT_HOST:-8888}
- JUPYTER_METRICS_PORT=${JUPYTER_METRICS_PORT:-28888}
- JUPYTER_URL=${JUPYTER_URL:-}
- SERVERLESS=${SERVERLESS:-false}
- SYNCTHING_UI_PORT_HOST=${SYNCTHING_UI_PORT_HOST:-8384}
- SYNCTHING_TRANSPORT_PORT_HOST=${SYNCTHING_TRANSPORT_PORT_HOST:-22999}
- SYNCTHING_URL=${SYNCTHING_URL:-}
#- PROVISIONING_SCRIPT=${PROVISIONING_SCRIPT:-}

0 comments on commit 129cffa

Please sign in to comment.