n8n Setup Guide

n8n Setup Guide on Proxmox 9

1. Build Proxmox 9 CT and Login

Create a new Proxmox container (CT) with Debian/Ubuntu, then log in.

2. Update the System

Make sure your system packages are up-to-date.

apt update && apt upgrade -y

3. Install Curl

curl is needed to download external scripts.

apt install curl -y

4. Install Docker

Download and run Docker’s official installation script.

curl -sSL https://get.docker.com | sh

5. Create Project Folder

Create and navigate into a folder for n8n.

mkdir n8n
cd n8n

6. Create Docker Compose File

Open a new file called docker-compose.yml with nano editor.

nano docker-compose.yml

Paste the following content into the file:

version: "3.8" services: n8n: image: docker.n8n.io/n8nio/n8n container_name: n8n ports: - "5678:5678" environment: GENERIC_TIMEZONE: "America/New_York" TZ: "America/New_York" N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS: "true" N8N_RUNNERS_ENABLED: "true" volumes: - n8n_data:/home/node/.n8n restart: unless-stopped volumes: n8n_data:

7. Start n8n

Run Docker Compose to start the container in the background.

docker compose up -d

8. Updating n8n (via Docker Compose)

If you need to update n8n later:

# Navigate to the directory with your docker-compose.yml cd </path/to/your/compose/file/directory> # Pull latest version docker compose pull # Stop and remove old container docker compose down # Start updated container docker compose up -d

Video Guide