45 lines
900 B
YAML
45 lines
900 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
ollama:
|
|
image: ollama/ollama:0.3.4
|
|
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:
|
|
image: ghcr.io/open-webui/open-webui:v0.3.11
|
|
container_name: open-webui
|
|
restart: unless-stopped
|
|
ports:
|
|
- 3000:8080
|
|
volumes:
|
|
- open-webui:/app/backend/data
|
|
extra_hosts:
|
|
- host.docker.internal:host-gateway
|
|
|
|
mindsdb:
|
|
image: mindsdb/mindsdb:v24.8.1.0
|
|
container_name: mindsdb
|
|
ports:
|
|
- 47334:47334
|
|
- 47335:47335
|
|
volumes:
|
|
- /home/mafyuh/mindsdb:/root/mindsdb
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
ollama:
|
|
external: true
|
|
open-webui:
|
|
external: true
|