Skip to content

Simple Docker Compose configuration to run n8n locally on macOS using OrbStack as a lightweight Docker Desktop alternative.

Notifications You must be signed in to change notification settings

ugur10/n8n-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

n8n Docker Setup for OrbStack

Simple Docker Compose configuration to run n8n locally on macOS using OrbStack as a lightweight Docker Desktop alternative.

Prerequisites

  • OrbStack installed on macOS
  • Docker Compose (included with OrbStack)

Setup

  1. Clone this repository
  2. Create a .env file with your SMTP credentials:
    N8N_SMTP_USER=your-email@gmail.com
    N8N_SMTP_PASS=your-app-password
    N8N_SMTP_SENDER=your-email@gmail.com
    

Usage

Start n8n

docker compose up -d

n8n will be available at http://localhost:5678

Update n8n

Run the Fish script to pull the latest image and update:

./update_n8n_docker.fish

Stop n8n

docker compose down

Configuration

  • Port: 5678 (mapped to host)
  • Data persistence: Uses Docker volume n8n_data
  • Email: Configured for Gmail SMTP (credentials in .env)
  • User management: Enabled (multi-user support)

Files

  • docker-compose.yml - Main Docker Compose configuration
  • update_n8n_docker.fish - Update script that pulls latest image and cleans up
  • .env - Environment variables (not in git - contains sensitive SMTP credentials)
  • .gitignore - Protects sensitive files from being committed

Notes

  • Data persists between container updates in the n8n_data volume
  • The update script safely preserves your workflows and settings
  • OrbStack provides better performance than Docker Desktop on macOS

About

Simple Docker Compose configuration to run n8n locally on macOS using OrbStack as a lightweight Docker Desktop alternative.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages