Skip to content
/ n8n-self-hosted Public template

Ready to use containerized self-hosted N8N instance with persistent workflows/credentials, HTTP auth and auto-TLS certificate generation

Notifications You must be signed in to change notification settings

7PH/n8n-self-hosted

Repository files navigation

Self-hosted N8N

This repository is a starter-pack to get a self-hosted N8N instance with:

  • A containerized setup (docker)
  • Automatic TLS certificate from Let's Encrypt
  • Basic authentication
  • An export/import workflow to export/import current workflows and credentials to local folders
  • A persistent encryption key to keep your credentials across losing your container

Install

# 1. Clone the repository
git clone https://github.com/7PH/n8n-self-hosted.git
cd n8n-self-hosted

# 2. Copy `.env.template` to `.env` and tweak the environment variables
#    In particular, ensure `N8N_ENCRYPTION_KEY` is set
cp .env.template .env

# 3. Run `docker compose up`
docker compose up

About

Ready to use containerized self-hosted N8N instance with persistent workflows/credentials, HTTP auth and auto-TLS certificate generation

Topics

Resources

Stars

Watchers

Forks