From 89f6fb35b87228a89c3333520879e5373bfd99ac Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Mon, 10 Jun 2024 15:07:36 +0800 Subject: [PATCH] Refactor openwebui.yml to use environment variables for domain, port, and Ollama API --- swarm/openwebui.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarm/openwebui.yml b/swarm/openwebui.yml index 9f8e800..bf28b3b 100644 --- a/swarm/openwebui.yml +++ b/swarm/openwebui.yml @@ -8,8 +8,8 @@ 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} + - WEBUI_URL=http://localhost:${OPEN_WEBUI_PORT:-8080} + - ENABLE_OLLAMA_API=${ENABLE_OLLAMA_API:-false} volumes: - /var/data/open-webui:/app/backend/data networks: