Skip to content

Complete n8n setup & documentation for macOS with OrbStack - Installation, Docker config, automation scripts

License

Notifications You must be signed in to change notification settings

peerendees/n8n-macos-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ n8n macOS Setup

Vollstรคndige Setup-Anleitung und Automatisierung fรผr n8n-Installation auf macOS mit OrbStack

License: MIT n8n version Docker


๐Ÿ“– รœberblick

Dieses Repository enthรคlt Setup & Dokumentation fรผr n8n auf macOS. Fรผr die eigentlichen Workflows siehe: n8n-workflows Repository

๐ŸŽฏ Zwei Repositories - Klare Trennung

Repository Zweck Inhalt
๐Ÿ“ฆ n8n-macos-setup (dieses) Setup & Infrastruktur Installation, Docker Config, Skripte, Dokumentation
๐Ÿ”ง n8n-workflows Workflows & Daten Workflow-Definitionen, Backups, Custom Nodes

Zusammenspiel:

  1. Mit n8n-macos-setup โ†’ n8n installieren & konfigurieren
  2. Mit n8n-workflows โ†’ Produktive Workflows verwalten & synchronisieren

โšก Schnellstart

Neu Installation auf neuem Mac

# 1. Dieses Repository klonen
git clone https://github.com/peerendees/n8n-macos-setup.git
cd n8n-macos-setup

# 2. Automatisches Setup
chmod +x assets/scripts/setup-new-mac.sh
./assets/scripts/setup-new-mac.sh

# 3. Workflows-Repository klonen
cd ~
git clone https://github.com/peerendees/n8n-workflows.git

# 4. Fertig! n8n lรคuft auf http://localhost:5678

Zeitaufwand: ~30-45 Minuten


๐Ÿ“ Was ist in diesem Repository?

โœ… Dieses Repository (n8n-macos-setup)

  • Installationsanleitungen - Schritt-fรผr-Schritt fรผr neuen Mac
  • Docker-Konfiguration - PostgreSQL + Redis + n8n
  • Setup-Automatisierung - Ein-Befehl Installation
  • Backup-Skripte - Automatische Workflow-Sicherung
  • System-Dokumentation - Versionen, Troubleshooting
  • Migrations-Guides - Docker Desktop โ†’ OrbStack

โŒ NICHT in diesem Repository

  • โŒ Produktive Workflows (โ†’ siehe n8n-workflows)
  • โŒ Workflow-Backups (โ†’ siehe n8n-workflows)
  • โŒ Custom Nodes (โ†’ siehe n8n-workflows)
  • โŒ Credentials (niemals in Git!)

๐Ÿ“š Dokumentation

๐Ÿš€ Fรผr Einsteiger

  1. Neue Installation

    • Komplette Schritt-fรผr-Schritt Anleitung
    • OrbStack, Docker, n8n Setup
    • ~30-45 Minuten
  2. Workflow Migration

    • Workflows zwischen Macs รผbertragen
    • 3 verschiedene Methoden
    • Credentials & Custom Nodes

๐Ÿ”ง Fรผr Fortgeschrittene

  1. System-Versionen โญ NEU

    • Versions-Tracking fรผr beide Macs (M3 & M2)
    • Update-Status & verfรผgbare Updates
    • Kompatibilitรคts-Matrix
  2. Struktur-Dokumentation

    • Vollstรคndige System-รœbersicht
    • Docker-Setup Details
    • Verzeichnisse & Cleanup
  3. Migrations-Historie

    • Docker Desktop โ†’ OrbStack
    • Lessons Learned

๐Ÿ”„ Workflow zwischen zwei Macs

Entwicklung auf Mac 1 (M3)

# 1. Workflows in n8n entwickeln
# 2. Workflows exportieren
cd ~/n8n
./assets/scripts/backup-workflows.sh

# 3. Zu n8n-workflows Repository pushen
cd ~/n8n-workflows
cp ~/n8n/backups/workflows/workflows_*.json .
git add .
git commit -m "Update workflows $(date +%Y%m%d)"
git push

Synchronisation auf Mac 2 (M2)

# 1. Workflows pullen
cd ~/n8n-workflows
git pull

# 2. In n8n importieren
docker cp workflows_*.json threema_n8n:/tmp/
docker exec threema_n8n n8n import:workflow --input=/tmp/workflows_*.json

# 3. n8n neu laden
open http://localhost:5678

๐Ÿ“ฆ Repository-Struktur

n8n-macos-setup/
โ”œโ”€โ”€ README.md                              # Diese Datei
โ”œโ”€โ”€ docs/
โ”‚   โ”œโ”€โ”€ setup/
โ”‚   โ”‚   โ”œโ”€โ”€ NEUE_INSTALLATION.md           # โ† Start hier!
โ”‚   โ”‚   โ””โ”€โ”€ WORKFLOW_MIGRATION.md
โ”‚   โ”œโ”€โ”€ SYSTEM_VERSIONEN.md                # โญ Versions-Tracking
โ”‚   โ””โ”€โ”€ migration/
โ”‚
โ”œโ”€โ”€ config-templates/                      # Docker & .env Templates
โ”‚   โ”œโ”€โ”€ docker-compose.yml.template
โ”‚   โ”œโ”€โ”€ env.template
โ”‚   โ””โ”€โ”€ init.sql
โ”‚
โ”œโ”€โ”€ assets/scripts/                        # Automatisierungs-Skripte
โ”‚   โ”œโ”€โ”€ backup-workflows.sh                # Auto-Backup
โ”‚   โ””โ”€โ”€ setup-new-mac.sh                   # Auto-Setup
โ”‚
โ””โ”€โ”€ backups/                               # Lokale Backups (nicht in Git)
    โ”œโ”€โ”€ workflows/
    โ”œโ”€โ”€ database/
    โ””โ”€โ”€ config/

๐Ÿ’ป System-Versionen

Aktueller Status (siehe SYSTEM_VERSIONEN.md):

Mac macOS OrbStack n8n PostgreSQL Redis Status
M3 14.x 2.0.4 1.116.2 15 7 โœ… Produktiv
M2 - - - - - โณ Ausstehend

๐Ÿ”— Verwandte Repositories

Repository Zweck Link
n8n-workflows Produktive Workflows โ†’ Repository
n8n-macos-setup Setup & Infrastruktur [โ†’ dieses Repository]

๐Ÿ› ๏ธ Features

โœ… In diesem Repository

  • โœ… Ein-Befehl Setup fรผr neuen Mac
  • โœ… Automatische Backups (Cron-Job ready)
  • โœ… Docker Compose Templates (vollstรคndig kommentiert)
  • โœ… DSGVO-konforme PostgreSQL-Struktur
  • โœ… Versions-Tracking fรผr beide Macs
  • โœ… Troubleshooting Guides
  • โœ… 3 Migrations-Methoden (CLI, Git, Database)

๐Ÿ› Troubleshooting

Siehe NEUE_INSTALLATION.md - Troubleshooting

Hรคufige Probleme:

  • Container startet nicht โ†’ docker logs threema_n8n
  • Port belegt โ†’ Ports in docker-compose.yml รคndern
  • DB-Fehler โ†’ Passwort in .env prรผfen

๐Ÿค Zusammenarbeit mit n8n-workflows Repository

Typischer Workflow

  1. Setup (einmalig):

    # n8n installieren
    git clone https://github.com/peerendees/n8n-macos-setup.git
    cd n8n-macos-setup
    ./assets/scripts/setup-new-mac.sh
    
    # Workflows klonen
    git clone https://github.com/peerendees/n8n-workflows.git ~/n8n-workflows
  2. Entwicklung (tรคglich):

    # In n8n entwickeln โ†’ http://localhost:5678
    
    # Workflows sichern
    ~/n8n/assets/scripts/backup-workflows.sh
    
    # Zu Git pushen
    cd ~/n8n-workflows
    git add . && git commit -m "Update" && git push
  3. Synchronisation (andere Macs):

    cd ~/n8n-workflows
    git pull
    # Workflows importieren (siehe Anleitung)

๐Ÿ“ž Support


๐Ÿ“ Lizenz

MIT License - siehe LICENSE


๐Ÿ™ Credits

  • n8n.io - Workflow-Automatisierungs-Plattform
  • OrbStack - Docker-Alternative fรผr macOS
  • PostgreSQL - Datenbank
  • Redis - Cache/Queue

โญ Status

Version: 1.0
n8n Version: 1.116.2
Letzte Aktualisierung: 25. Oktober 2025
Getestet auf: macOS Sonoma 14.x, Apple Silicon M3


โญ Wenn dir dieses Repository hilft, gib ihm einen Star! โญ


Siehe auch: n8n-workflows Repository fรผr produktive Workflows

About

Complete n8n setup & documentation for macOS with OrbStack - Installation, Docker config, automation scripts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published