Refactor openwebui.yml to add environment variables for domain, port, and Ollama API

This commit is contained in:
2024-06-10 14:37:37 +08:00
parent b7a474ae08
commit 15c1396ebb
+4
View File
@@ -5,6 +5,10 @@ networks:
services:
open-webui:
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
environment:
- DOMAIN=${DOMAIN}
- OPEN_WEBUI_PORT=${OPEN_WEBUI_PORT-8080}
- ENABLE_OLLAMA_API=${ENABLE_OLLAMA_API-false}
volumes:
- /var/data/open-webui:/app/backend/data
networks: