Updated Docker Compose for GPU

This commit is contained in:
Brian Fertig 2025-07-01 19:40:35 -06:00
parent fdeff1e9b7
commit 5e6769c783
1 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,14 @@ services:
volumes:
- ./files/ollama:/root/.ollama
container_name: ollama
#UNCOMMENT THESE LINES IF YOU HAVE AN NVIDIA GPU
#deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
pull_policy: always
tty: true
restart: unless-stopped