From b097fad33580d92704d3112240cacc1b40e7b2af Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Mon, 10 Jun 2024 14:59:44 +0800 Subject: [PATCH] Refactor openwebui.yml to use environment variable for OPEN_WEBUI_PORT --- swarm/openwebui.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarm/openwebui.yml b/swarm/openwebui.yml index f89fde9..2af3d1a 100644 --- a/swarm/openwebui.yml +++ b/swarm/openwebui.yml @@ -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