Add ollama and open webui

This commit is contained in:
2025-04-24 17:52:21 -03:00
parent 970df3b1bc
commit 330bf9a638
2 changed files with 20 additions and 4 deletions

18
ollama/docker-compose.yml Normal file
View File

@ -0,0 +1,18 @@
services:
ollama:
image: ollama/ollama:latest
container_name: ollama
network_mode: host
expose:
- "11434"
restart: unless-stopped
volumes:
- /home/isaac/Ollama:/root/.ollama
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]