Skip to content

peerendees/n8n-macos-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 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

 
 
 

Contributors