45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
ollama:
|
|
image: ollama/ollama@sha256:4b11fdc55cec0a227f3f3ba9b8910940f892f98252141c97ed3bc4b45507d08d
|
|
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:6ac45ab8f9c623e3c68e682fd5dd055b1c7809c5541552245bc68042e1ad96bb
|
|
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@sha256:23b125a5caad536e8af3c9eaed5028609ab8dab55e7d27bdcd91532fb1c4e177
|
|
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
|