Conversation
There was a problem hiding this comment.
Pull request overview
This pull request fixes the Ollama deployment by stabilizing the image version and adding explicit environment configuration to enable the web UI to properly connect to the Ollama backend service.
Changes:
- Pins the open-webui image from
:maintag to stable versionv0.8.3 - Adds environment variables to configure the web UI URL, disable authentication, and set Ollama backend connection
- Includes commented configuration examples for alternative deployment scenarios
| # extra_hosts: | ||
| # - host.docker.internal:other_machine-like172.24.32.5 |
There was a problem hiding this comment.
Duplicate extra_hosts configuration detected. Lines 87-88 define extra_hosts with host.docker.internal:host-gateway, and then lines 95-96 comment out another extra_hosts section. This creates confusion about which configuration is active. Consider removing the commented-out duplicate at lines 95-96 since the active configuration at lines 87-88 already provides the same functionality.
| # extra_hosts: | |
| # - host.docker.internal:other_machine-like172.24.32.5 |
| - host.docker.internal:host-gateway | ||
| restart: unless-stopped | ||
| environment: | ||
| - WEBUI_AUTH=False |
There was a problem hiding this comment.
The WEBUI_AUTH environment variable is set to False, which disables authentication for the Ollama web UI. Since this service is exposed publicly via Traefik at https://ollama.viewpoint.house with no authentication middleware configured, this creates a security risk by allowing unrestricted access to the Ollama interface. Consider either enabling authentication (WEBUI_AUTH=True) or adding Traefik basicAuth middleware to protect this endpoint, especially since it's accessible from the internet.
| - WEBUI_AUTH=False | |
| - WEBUI_AUTH=True |
| - WEBUI_AUTH=False | ||
| - WEBUI_URL=https://ollama.viewpoint.house | ||
| - OLLAMA_BASE_URLS=http://ollama:11434 | ||
| # - OLLAMA_BASE_URLS=http://host.docker.internal:7869 #comma separated ollama hosts |
There was a problem hiding this comment.
Conflicting OLLAMA_BASE_URLS configuration. Line 93 sets the active value to http://ollama:11434, but line 94 comments out an alternative value http://host.docker.internal:7869. This commented line appears to be leftover configuration that should be removed to avoid confusion, as the comment suggests it's an alternative option but provides no guidance on when to use one versus the other.
| # - OLLAMA_BASE_URLS=http://host.docker.internal:7869 #comma separated ollama hosts |
No description provided.