1
0
Fork 0

share the network stack between open-webui and ollama

This commit is contained in:
Massaki Archambault 2024-04-04 10:16:41 -04:00
parent f912cf0179
commit 9ea2781562
4 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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: