mirror of
https://github.com/hexastack/hexabot
synced 2024-11-24 13:05:15 +00:00
29 lines
461 B
YAML
29 lines
461 B
YAML
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:
|