2024-07-12 23:57:29 -04:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
ollama:
|
2024-08-13 17:01:25 -04:00
|
|
|
image: ollama/ollama:0.3.6
|
2024-07-12 23:57:29 -04:00
|
|
|
container_name: ollama
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- ollama:/root/.ollama
|
|
|
|
ports:
|
|
|
|
- "11434:11434"
|
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
reservations:
|
|
|
|
devices:
|
|
|
|
- driver: nvidia
|
|
|
|
count: all
|
|
|
|
capabilities: [gpu]
|
|
|
|
|
|
|
|
open-webui:
|
2024-08-14 16:01:18 -04:00
|
|
|
image: ghcr.io/open-webui/open-webui:v0.3.13
|
2024-07-12 23:57:29 -04:00
|
|
|
container_name: open-webui
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 3000:8080
|
|
|
|
volumes:
|
|
|
|
- open-webui:/app/backend/data
|
|
|
|
extra_hosts:
|
|
|
|
- host.docker.internal:host-gateway
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
ollama:
|
|
|
|
external: true
|
|
|
|
open-webui:
|
|
|
|
external: true
|