forked from open-webui/open-webui
12 lines
249 B
YAML
12 lines
249 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
ollama:
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: ${OLLAMA_GPU_DRIVER-nvidia}
|
|
count: ${OLLAMA_GPU_COUNT-1}
|
|
capabilities:
|
|
- gpu
|