Trying to fix ollama base URL being unset after some time (#105) #106

Merged
skobkin merged 1 commit from fix_105_ollama_base_url into master 2024-04-20 22:58:42 +00:00
Showing only changes of commit 5ad2118ee9 - Show all commits

View file

@ -12,6 +12,7 @@ services:
- "${HTTP_UI_BIND_ADDR:-127.0.0.1}:${HTTP_UI_BIND_PORT-3000}:8080" - "${HTTP_UI_BIND_ADDR:-127.0.0.1}:${HTTP_UI_BIND_PORT-3000}:8080"
environment: environment:
- "OLLAMA_API_BASE_URL=http://ollama:11434/api" - "OLLAMA_API_BASE_URL=http://ollama:11434/api"
- "OLLAMA_BASE_URL=http://ollama:11434"
- 'WEBUI_SECRET_KEY=${UI_SECRET_KEY:-changeme}' - 'WEBUI_SECRET_KEY=${UI_SECRET_KEY:-changeme}'
#extra_hosts: #extra_hosts:
# - host.docker.internal:host-gateway # - host.docker.internal:host-gateway