Refactor openwebui.yml to add environment variables for domain, port, and Ollama API
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user