hexabot/docker/docker-compose.ollama.yml

29 lines
461 B
YAML
Raw Normal View History

2024-10-21 10:49:36 +00:00
version: "3.9"
services:
ollama:
image: ollama/ollama
container_name: ollama
volumes:
- ollama:/root/.ollama
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
restart: unless-stopped
networks:
- ollama-network
api:
networks:
- ollama-network
volumes:
ollama:
networks:
ollama-network: