From 3cbed2908a5377d4b43c4fdca693229e34f56e87 Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Mon, 10 Jun 2024 15:03:02 +0800 Subject: [PATCH] Refactor openwebui.yml to add WEBUI_URL environment variable --- swarm/openwebui.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/swarm/openwebui.yml b/swarm/openwebui.yml index 2af3d1a..9f8e800 100644 --- a/swarm/openwebui.yml +++ b/swarm/openwebui.yml @@ -8,6 +8,7 @@ services: environment: - DOMAIN=${DOMAIN} - OPEN_WEBUI_PORT=${OPEN_WEBUI_PORT:-8080} + - WEBUI_URL=http://localhost:${OPEN_WEBUI_PORT} - ENABLE_OLLAMA_API=${ENABLE_OLLAMA_API-false} volumes: - /var/data/open-webui:/app/backend/data