Home
Softono
n8n-self-hosted

n8n-self-hosted

Open source Dockerfile
22
Stars
7
Forks
0
Issues
2
Watchers
2 years
Last Commit

About n8n-self-hosted

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

Platforms

Web Self-hosted Docker

Languages

Dockerfile

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