mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 13:29:53 +00:00
feat: docker compose backend support update
This commit is contained in:
parent
b1f1d1d8ae
commit
3c89588cd9
@ -15,8 +15,6 @@ services:
|
||||
- ollama:/root/.ollama
|
||||
ports:
|
||||
- 11434:11434
|
||||
environment:
|
||||
- 'OLLAMA_ORIGINS=*'
|
||||
container_name: ollama
|
||||
pull_policy: always
|
||||
tty: true
|
||||
@ -24,16 +22,18 @@ services:
|
||||
image: ollama/ollama:latest
|
||||
|
||||
ollama-webui:
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
OLLAMA_API_BASE_URL: ''
|
||||
OLLAMA_API_BASE_URL: '/ollama/api'
|
||||
dockerfile: Dockerfile
|
||||
image: ollama-webui:latest
|
||||
container_name: ollama-webui
|
||||
ports:
|
||||
- 3000:8080
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
ollama: {}
|
||||
|
Loading…
Reference in New Issue
Block a user