share the network stack between open-webui and ollama
This commit is contained in:
parent
f912cf0179
commit
9ea2781562
|
@ -8,8 +8,7 @@ services:
|
|||
restart: unless-stopped
|
||||
entrypoint: /bootstrap.sh
|
||||
command: mistral
|
||||
ports:
|
||||
- 11434:11434
|
||||
network_mode: service:open-webui
|
||||
# begin for AMD GPU support
|
||||
devices:
|
||||
- /dev/kfd
|
||||
|
|
|
@ -18,8 +18,9 @@ services:
|
|||
image: ghcr.io/open-webui/open-webui:main
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 11434:11434
|
||||
environment:
|
||||
OLLAMA_BASE_URL: http://ollama:11434
|
||||
OLLAMA_BASE_URL: http://localhost:11434
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
volumes:
|
||||
|
|
|
@ -8,8 +8,7 @@ services:
|
|||
restart: unless-stopped
|
||||
entrypoint: /bootstrap.sh
|
||||
command: mistral
|
||||
ports:
|
||||
- 11434:11434
|
||||
network_mode: service:open-webui
|
||||
volumes:
|
||||
- ./ollama/bootstrap.sh:/bootstrap.sh:ro
|
||||
- ./ollama:/root/.ollama
|
|
@ -8,8 +8,7 @@ services:
|
|||
restart: unless-stopped
|
||||
entrypoint: /bootstrap.sh
|
||||
command: mistral
|
||||
ports:
|
||||
- 11434:11434
|
||||
network_mode: service:open-webui
|
||||
# begin for NVIDIA GPU support
|
||||
deploy:
|
||||
resources:
|
||||
|
|
Loading…
Reference in New Issue