Revert "fixes"

This reverts commit abe133afe817fe065036ba556f7dbcd2378ac005.
This commit is contained in:
Marcin Tojek 2025-12-03 15:01:42 +01:00
parent abe133afe8
commit 520a2947e1

View File

@ -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"