Installing n8n on Ubuntu

What is n8n?

n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything. -https://github.com/n8n-io/n8n

Installing n8n

sudo apt-get update && sudo apt-get upgrade
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

#sudo usermod -aG docker ${USER}
sudo reboot

Set DNS with your DNS provider like goDaddy:

Type: A Name: n8n (or the desired subdomain) IP address: <IP_OF_YOUR_SERVER>

Installation commands

make folder name n8n

Create a docker-compose.yml file. Paste the following in the file:

Create .env file

Create data folder

Create a volume for the Traefik data, This is defined as traefik_data.

Run Docker

Reference

Updating n8n

Read n8n documentation for fill instrctions

Last updated