volumes:
ollama_data:
external: true
networks:
weavegraph:
name: weavegraph
services:
ollama:
container_name: ollama
image: ollama/ollama:latest
volumes:
- ollama_data:/root/.ollama
ports:
- "11434:11434"
networks:
- weavegraph
restart: unless-stopped
tty: true
environment:
- OLLAMA_KEEP_ALIVE=24h
- OLLAMA_HOST=0.0.0.0