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