Merge pull request 'Trying to fix ollama base URL being unset after some time (#105)' (#106) from fix_105_ollama_base_url into master

Reviewed-on: #106
This commit is contained in:
Alexey Skobkin 2024-04-20 22:58:42 +00:00
commit bf779291ab

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