Refactor openwebui.yml to use environment variable for WEBUI_DOCKER_TAG

This commit is contained in:
2024-06-10 15:10:10 +08:00
parent 89f6fb35b8
commit b5266d8b4b
+1 -1
View File
@@ -4,7 +4,7 @@ networks:
services: services:
open-webui: open-webui:
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main} image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG:-main}
environment: environment:
- DOMAIN=${DOMAIN} - DOMAIN=${DOMAIN}
- OPEN_WEBUI_PORT=${OPEN_WEBUI_PORT:-8080} - OPEN_WEBUI_PORT=${OPEN_WEBUI_PORT:-8080}