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
Renovate Bot 3728008499
All checks were successful
continuous-integration/drone/pr Build is passing
Update ghcr.io/open-webui/open-webui Docker digest to 3da4803
2024-04-17 20:53:37 +00:00

35 lines
818 B
YAML

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:3da4803beafa3a109ea9496733ca3254c7905b4494a6f034a4fdfab40522781b
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