chatbot / docker-compose.gpu.yaml
github-actions[bot]
GitHub deploy: 5433340bb1924e61d2d616950eacc7a6cfdb6b46
b69c233
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