Refactor openwebui.yml to use environment variable for OPEN_WEBUI_PORT

This commit is contained in:
2024-06-10 14:59:44 +08:00
parent 47384c4b66
commit b097fad335
+1 -1
View File
@@ -7,7 +7,7 @@ services:
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
environment:
- DOMAIN=${DOMAIN}
- OPEN_WEBUI_PORT=${OPEN_WEBUI_PORT-8080}
- OPEN_WEBUI_PORT=${OPEN_WEBUI_PORT:-8080}
- ENABLE_OLLAMA_API=${ENABLE_OLLAMA_API-false}
volumes:
- /var/data/open-webui:/app/backend/data