Refactor openwebui.yml to add WEBUI_URL environment variable

This commit is contained in:
2024-06-10 15:03:02 +08:00
parent b097fad335
commit 3cbed2908a
+1
View File
@@ -8,6 +8,7 @@ services:
environment:
- DOMAIN=${DOMAIN}
- OPEN_WEBUI_PORT=${OPEN_WEBUI_PORT:-8080}
- WEBUI_URL=http://localhost:${OPEN_WEBUI_PORT}
- ENABLE_OLLAMA_API=${ENABLE_OLLAMA_API-false}
volumes:
- /var/data/open-webui:/app/backend/data