From 520a2947e1b0019a9777d860eed96b409ba52c47 Mon Sep 17 00:00:00 2001 From: Marcin Tojek Date: Wed, 3 Dec 2025 15:01:42 +0100 Subject: [PATCH] Revert "fixes" This reverts commit abe133afe817fe065036ba556f7dbcd2378ac005. --- registry/coder-labs/modules/open-webui/run.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/registry/coder-labs/modules/open-webui/run.sh b/registry/coder-labs/modules/open-webui/run.sh index a761b209..25a3e6c2 100755 --- a/registry/coder-labs/modules/open-webui/run.sh +++ b/registry/coder-labs/modules/open-webui/run.sh @@ -1,6 +1,9 @@ #!/usr/bin/env sh set -e +LOG_PATH=$${LOG_PATH} +PORT=$${PORT} + # shellcheck disable=SC2059 printf '\033[0;1mInstalling Open WebUI...\n\n' @@ -60,13 +63,13 @@ else fi echo "👷 Starting Open WebUI in background..." -echo "Check logs at $${LOG_PATH}" +echo "Check logs at $LOG_PATH" # Start Open WebUI -open-webui serve --host 0.0.0.0 --port "$${PORT}" > "$${LOG_PATH}" 2>&1 & +open-webui serve --host 0.0.0.0 --port "$PORT" > "$LOG_PATH" 2>&1 & # Wait a bit for the server to start sleep 2 echo "🥳 Open WebUI is starting!" -echo "Access it at http://localhost:$${PORT}" +echo "Access it at http://localhost:$PORT"