mirror of
https://github.com/hexastack/hexabot
synced 2024-11-29 23:51:27 +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:
|