Files
DocsGPT/deployment/optional/docker-compose.optional.ollama-gpu.yaml
2025-02-11 19:17:59 +03:00

16 lines
268 B
YAML

version: "3.8"
services:
ollama:
image: ollama/ollama
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
volumes:
ollama_data: