mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
14 lines
267 B
YAML
14 lines
267 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
ollama:
|
|
# GPU support
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: ${OLLAMA_GPU_DRIVER-nvidia}
|
|
count: ${OLLAMA_GPU_COUNT-1}
|
|
capabilities:
|
|
- gpu
|