Applies to: LifeinCloud Cloud VPS • Ubuntu 22.04 LTS

Overview

n8n is a powerful automation and workflow platform. LifeinCloud offers a 1-click n8n VPS image for quick setup, but this guide covers manual installation using Docker.

Requirements

Step 1 — Create n8n Directory

mkdir -p /opt/n8n && cd /opt/n8n

Step 2 — Create Docker Compose File

nano docker-compose.yml
version: "3"
services:
  n8n:
    image: n8nio/n8n
    ports:
      - "5678:5678"
    environment:
      - GENERIC_TIMEZONE=Europe/Bucharest
      - N8N_BASIC_AUTH_ACTIVE=true
      - N8N_BASIC_AUTH_USER=admin
      - N8N_BASIC_AUTH_PASSWORD=securepassword
    volumes:
      - /opt/n8n:/home/node/.n8n

Step 3 — Start n8n

docker-compose up -d

Step 4 — Access the Web Interface

Open http://YOUR_SERVER_IP:5678 and log in with the credentials set in the compose file.

Note: The easiest way to deploy n8n is via our 1-click n8n VPS image in the LifeinCloud panel.
Was this answer helpful? 1 Users Found This Useful (1 Votes)