Title: Runbook — Open WebUI (vLLM, Caddy 7500)
- Service Ports: Caddy listens on :7500 and reverse-proxies to Open WebUI at 127.0.0.1:17500.
- vLLM: OpenAI-compatible API on 127.0.0.1:8001 (
/v1).
Manual start (no supervisor/systemd):
- Environment:
DATA_DIR=/data/adaptai/migrate/vast/workspace-vast1-2/webuiDATABASE_URL=sqlite:////data/adaptai/migrate/vast/workspace-vast1-2/webui/webui.dbOPENAI_API_BASE_URL=http://127.0.0.1:8001/v1ENABLE_PERSISTENT_CONFIG=TrueWEBUI_AUTH=False
- Command:
/venv/main/bin/open-webui serve --host 127.0.0.1 --port 17500
Using the existing script:
sudo env WEBUI_AUTH=False ENABLE_PERSISTENT_CONFIG=True OPENAI_API_BASE_URL=http://127.0.0.1:8001/v1 DATA_DIR=/data/adaptai/migrate/vast/workspace-vast1-2/webui DATABASE_URL=sqlite:////data/adaptai/migrate/vast/workspace-vast1-2/webui/webui.db PROC_NAME=open_webui OPENWEBUI_ARGS="--host 127.0.0.1 --port 17500" /opt/supervisor-scripts/open_webui.sh
Verification:
ss -tulpen | rg ":17500\b"— Open WebUI is listening.- Load
http://localhost:7500— should proxy to Open WebUI.
DB basics:
- SQLite absolute path for Peewee requires four slashes:
sqlite:////abs/path/to/webui.db. - Config writes live in
config.dataJSON (e.g.,MODEL_ORDER_LIST,DEFAULT_MODELS,WEBUI_AUTH).