Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 1.66 KB

n8n.md

File metadata and controls

60 lines (46 loc) · 1.66 KB

n8n

n8n, the "extendable workflow automation", a personal IFTTT if like /self-hosting.

n8n makes it possible to solve some tasks in a "No-Code" manner (a very polular thing nowadays):

You have a bunch of triggers (GitHub push, Web-hook, schedule) some actuators ("Send a message to Telegram", "ping a host", "POST some request") and a couple of ways to connect formers to letters.

For example, I (/who/astynax) have a Telegram Bot that posts a random piece from "100 Quotes Every Geek Should Know" (from WIRED) daily. The quotes themselves I store in AirTable - yep, more "No-Code"!

Hosting with Dokku

I have n8n deployed on a Digital Ocean droplet under control of /Dokku.

Run

  1. dokku apps:create n8n
  2. dokku storage:mount n8n ~/.n8n:/root/.n8n
```bash
dokku config:set n8n \
  N8N_BASIC_AUTH_ACTIVE=true \
  N8N_BASIC_AUTH_USER=foo \
  N8N_BASIC_AUTH_PASSWORD=bar
```
  1. docker pull n8nio/n8n:latest
  2. docker tag n8nio/n8n:latest dokku/n8n:latest
  3. dokku tags:deploy dokku/n8n:latest

Update

docker pull n8nio/n8n:latest \
  && docker tag n8nio/n8n:latest dokku/n8n:latest \
  && dokku ps:restart n8n