ai / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 90d8d46a6da11a815e1f87b87c828bea6043afdc
97fad58
raw
history blame
251 Bytes
services:
ollama:
# GPU support
deploy:
resources:
reservations:
devices:
- driver: ${OLLAMA_GPU_DRIVER-nvidia}
count: ${OLLAMA_GPU_COUNT-1}
capabilities:
- gpu