@lekman/n8n-local-deploy
v0.5.5
Published
One-command installer for n8n workflow automation with GAMP5 IQ/OQ validation
Maintainers
Readme
n8n Local Installer
One-command installer for n8n workflow automation on macOS with OrbStack/Docker and Cloudflare Tunnel.
Requirements
1. Create Cloudflare API Token
- Go to Cloudflare Dashboard → My Profile → API Tokens
- Click Create Token → Create Custom Token
- Set permissions:
- Zone / Zone / Read
- Zone / DNS / Edit
- Account / Cloudflare Tunnel / Edit
- Set zone resources to your domain
- Copy the token (shown only once)
2. Install n8n
bunx @lekman/n8n-local-deploy installThe installer prompts for your Cloudflare token, domain, and subdomain.
Non-interactive:
CLOUDFLARE_API_TOKEN=your_token bunx @lekman/n8n-local-deploy install --domain example.com --subdomain n8nAfter installation, access n8n at https://your-subdomain.your-domain.com
Commands
bunx @lekman/n8n-local-deploy install # Install with Cloudflare Tunnel
bunx @lekman/n8n-local-deploy status # Check status
bunx @lekman/n8n-local-deploy uninstall # UninstallOptions
| Option | Description |
|--------|-------------|
| --force | Force reinstall |
| --domain <domain> | Cloudflare domain |
| --subdomain <name> | Subdomain for n8n |
| --yes | Auto-accept prompts |
Always-On Server (Optional)
If you're running n8n on a Mac that should stay awake 24/7, disable sleep and Power Nap to prevent containers from being suspended:
sudo pmset -c sleep 0 standby 0 powernap 0 disksleep 0Verify settings with pmset -g. The values should show 0 for each.
License
MIT
