version: "3.8"
services:
ollama:
image: ollama/ollama@sha256:bef60d0ca6194ae88df3107cd0f53cc44cc2d0e3d1a6d9798bab9ef80e31e364
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@sha256:f384e3b1a7c76061c9a8bff294459b49aa0f2b73f9f0b9dc2675d05629c7da85
container_name: open-webui
- 3000:8080
- open-webui:/app/backend/data
extra_hosts:
- host.docker.internal:host-gateway
mindsdb:
image: mindsdb/mindsdb@sha256:23b125a5caad536e8af3c9eaed5028609ab8dab55e7d27bdcd91532fb1c4e177
container_name: mindsdb
- 47334:47334
- 47335:47335
- /home/mafyuh/mindsdb:/root/mindsdb
external: true