From c7c536510faa7eb3bcbd3fe57a7baf9a8ee73b23 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Fri, 4 Oct 2024 02:33:58 -0300 Subject: [PATCH] Add gateway to localhost? --- open-webui/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/open-webui/docker-compose.yml b/open-webui/docker-compose.yml index 74a391e..1b77d59 100644 --- a/open-webui/docker-compose.yml +++ b/open-webui/docker-compose.yml @@ -10,4 +10,6 @@ services: environment: - 'OLLAMA_BASE_URL=http://localhost:11434' # - 'WEBUI_SECRET_KEY=' Set this for jwt secret key. Should be rendomly generated at start + extra_hosts: + - host.docker.internal:host-gateway restart: unless-stopped \ No newline at end of file