n8n 0llama

This commit is contained in:
Ryan Toler
2026-03-25 06:01:48 +00:00
parent febff2baa3
commit 1634522c19
2 changed files with 23 additions and 1 deletions

View File

@@ -53,6 +53,22 @@ services:
volumes:
- ./n8n_data:/home/node/.n8n
- ./n8n_files:/files
depends_on:
- ollama
- traefik
ollama:
image: ollama/ollama
# Exposes Ollama to all interfaces so other containers can access it
environment:
- OLLAMA_HOST=0.0.0.0
volumes:
# Persists models locally so they aren't lost
- ollama_data:/root/.ollama
networks:
- n8n-network
restart: unless-stopped
volumes:
traefik_data: