```html
```

Self-Hosted n8n Setup – Docker One-Click

Take full control of your automation data. Deploy a production-ready n8n instance on your own VPS or local server in minutes using our optimized Docker stack.

n8n Self-Hosted Workflow Dashboard

The Deployment Guide

[ PRODUCTION GRADE STACK ]

01

Prerequisites

Ensure you have a Linux VPS (Ubuntu 22.04 recommended) with Docker and Docker Compose installed. You also need a domain pointed to your IP for SSL.

02

Environment Config

Define your credentials and domain in the .env file. Our stack includes Traefik for automatic Let’s Encrypt SSL certificates.

03

Launch

Run docker-compose up -d. Your world-class automation hub will be live at your domain with full persistence and security.

Sample Docker Compose

This snippet sets up n8n with a persistent Postgres database for high-volume workflows.

services: n8n: image: n8nio/n8n:latest restart: always environment: – DB_TYPE=postgresdb – DB_POSTGRESDB_HOST=postgres – DB_POSTGRESDB_PORT=5432 – N8N_ENCRYPTION_KEY=your_secret_key volumes: – ./n8n_data:/home/node/.n8n ports: – 5678:5678

Download Our Docker-Compose Template

Includes pre-configured Postgres, Traefik, and Redis for a robust, production-ready environment. 100% Free.

Get Full Blueprint View Template Demos

Why Self-Host?

  • Privacy: No third-party sees your sensitive API payloads.
  • Performance: Execute complex Python/JS code without SaaS timeouts.
  • Cost: Unlimited workflow executions for the price of a small VPS.

Support & Maintenance

Don’t want to manage updates and security patches yourself? Anagata offers **Managed n8n Hosting** where we handle the DevOps while you build the workflows.

Inquire About Managed Hosting →