Local automations: n8n and Ollama
docker-compose stack to automate with a local AI: n8n (workflows) and Ollama (model), without sending data to an external API.
Zugriffe Mittel
- Dateien oder Daten lesen
- Dateien ändern oder löschen
- Daten ins Internet senden
- Befehle auf dem Rechner ausführen : Nein
Dienste
- n8n: workflow editor
- Ollama: local model, reachable at http://ollama:11434
Ports : 5678 (n8n)
1. docker compose up -d 2. docker compose exec ollama ollama pull llama3.1 3. Open http://localhost:5678; in n8n's Ollama nodes, use the address http://ollama:11434.
docker-compose.yml
services:
ollama:
image: ollama/ollama
volumes:
- ollama:/root/.ollama
n8n:
image: n8nio/n8n
depends_on: [ollama]
environment:
- GENERIC_TIMEZONE=America/New_York
volumes:
- n8n:/home/node/.n8n
ports:
- "5678:5678"
volumes:
ollama:
n8n:Geschätzte Kosten
Eingabe-Tokens pro Aufruf : ≈ 266
| Modell | Pro Aufruf | Pro 1.000 Aufrufe |
|---|---|---|
| Mistral Large · Mistral AI | 0,00012 € | 0,12 € |
| DeepSeek Flash · DeepSeek | 0,00007 € | 0,07 € |
| DeepSeek V4 Pro · DeepSeek | 0,00031 € | 0,31 € |
| GPT-6 Luna · OpenAI | 0,00002 € | 0,02 € |
| GPT-6 Sol · OpenAI | 0,00047 € | 0,47 € |
| Claude Sonnet 5.5 · Anthropic | 0,00047 € | 0,47 € |
| Claude Opus 5.5 · Anthropic | 0,00094 € | 0,94 € |
| Selbst gehostetes Open-Source-Modell (Ollama, vLLM) | 0 € API-Kosten (nur Serverkosten) | |
Nur Eingabekosten, ohne die Antwort des Modells. Öffentliche Standardpreise der Anbieter (Mistral AI, DeepSeek, OpenAI, Anthropic) von USD in Euro umgerechnet zum EZB-Kurs vom 29. September 2026. Schätzung: 1 Token ≈ 3,6 Zeichen.
Common to all 3 regions
Created by the author, no outside source.
Commercial use allowed · credit the author · changes allowed.
Declared access : read files, modify files, send data online.
Hosted in France (Scaleway, Paris). No transfer outside the EU.
European Union · 5/5
No personal data.
No training data: no summary required.
United States · 5/5
No personal data.
No training data: no documentation to publish.
China · 5/5
No personal data.
No training data; AI-generated content published in China must be labelled (2025).
Indicative summary as of 30/09/2026, not a legal certification. Method and sources →
Statistiken
Gefällt mir : 0 · Kommentare : 0
Klicken Sie auf einen Zähler, um ihn ein- oder auszublenden; fahren Sie über das Diagramm für Details. Ein Aufruf pro Besucher und Tag, ohne Bots; Zählung seit dem 30. September 2026.
- Kennung
- contextetech--local-automations-n8n-ollama
- Typ
- Stacks
- Datei
- docker-compose.yml
- Format
- YML
- Größe
- 299 Bytes
- Kodierung
- UTF-8
- Geschätzte Tokens
- ≈ 83
- Sprache
- Englisch
- Lizenz
- MIT
- Kommerzielle Nutzung
- Erlaubt
- Personenbezogene Daten
- Keine
- Version
- 1.0
- Veröffentlicht am
- 2. Oktober 2026 um 21:54
- Aktualisiert am
- 2. Oktober 2026 um 21:54
- Speicherung
- in der Datenbank
- Nutzungen
- 0
- Gefällt mir
- 0
docker-compose.yml
services:
ollama:
image: ollama/ollama
volumes:
- ollama:/root/.ollama
n8n:
image: n8nio/n8n
depends_on: [ollama]
environment:
- GENERIC_TIMEZONE=America/New_York
volumes:
- n8n:/home/node/.n8n
ports:
- "5678:5678"
volumes:
ollama:
n8n:
Starten
# enregistrez docker-compose.yml, puis : docker compose up -d docker compose ps
Community
Noch keine Kommentare. Teile deine Erfahrung, sie hilft den Nächsten.