This repository has been archived on 2024-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
Auto-Homelab/AI/docker-compose.yml

46 lines
1.1 KiB
YAML
Raw Normal View History

2024-04-14 18:23:29 -04:00
version: "3.8"
services:
ollama:
image: ollama/ollama@sha256:da18157306000b097dd3aa02258317398ef04312dadee5bcdd20f111c1ec36b8
2024-04-14 18:23: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:
image: ghcr.io/open-webui/open-webui@sha256:68bb67e705f0a5484ada80c2d0694801bdb55ba4d10e06970f18395e8005efc4
2024-04-14 18:23: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
2024-04-18 01:36:24 -04:00
mindsdb:
2024-05-04 15:19:51 -04:00
image: mindsdb/mindsdb@sha256:23b125a5caad536e8af3c9eaed5028609ab8dab55e7d27bdcd91532fb1c4e177
2024-04-18 01:36:24 -04:00
container_name: mindsdb
ports:
- 47334:47334
- 47335:47335
volumes:
- /home/mafyuh/mindsdb:/root/mindsdb
restart: unless-stopped
2024-04-14 18:23:29 -04:00
volumes:
ollama:
external: true
open-webui:
external: true