Trying to fix ollama base URL being unset after some time (#105)
All checks were successful
continuous-integration/drone/pr Build is passing

fix #105
This commit is contained in:
Alexey Skobkin 2024-04-20 22:58:00 +00:00
parent a729f38e5d
commit 5ad2118ee9

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