Skip to content

telepilotco/n8n-secure-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Secure n8n Deployment with Caddy & Traefik

🌟 Overview

This repository provides two secure deployment templates for n8n using:

  • Caddy – Simple, automatic SSL and reverse proxy setup
  • Traefik – Advanced, flexible reverse proxy with automatic SSL

Both setups are designed to:

  • βœ… Expose only webhooks to the public internet
  • βœ… Keep the n8n UI, login, and workflows private using Tailscale
  • βœ… Automatically manage SSL certificates via Let's Encrypt
  • βœ… Use Docker Compose for easy deployment

πŸ”₯ Choosing the Right Setup

Feature Caddy Template Traefik Template
Ease of Use βœ… Very simple ⚑ More flexible
Auto SSL βœ… Built-in βœ… Built-in
Reverse Proxy βœ… Basic routing βœ… Advanced routing & middleware
Tailscale Support βœ… Yes βœ… Yes
  • Use Caddy if you want a quick & simple setup.
  • Use Traefik if you need more control over routing and middleware.

πŸš€ Quick Start

1️⃣ Clone the repository

git clone https://github.com/telepilotco/n8n-secure-deployment.git
cd n8n-secure-deployment/

2️⃣ Choose a setup and navigate into the folder

cd n8n-caddy-tailscale/   # or cd n8n-traefik-tailscale/

3️⃣ Configure environment variables

Edit .env to set up domains, Tailscale settings, and n8n configurations.

4️⃣ Deploy the setup

sh start.sh

πŸ“Œ Summary

  • βœ… Secure n8n deployments with either Caddy or Traefik
  • βœ… Public webhooks, private admin access via Tailscale
  • βœ… Automatic SSL certificates with Let's Encrypt
  • βœ… Docker-based setup for easy management

🀝 Contributing

Have improvements or want to report issues? Feel free to open a PR or issue.

πŸ”— Happy automating with n8n, Caddy, and Traefik! πŸš€

About

Secure n8n deployment templates using Caddy and Traefik, with Tailscale for private access and Let's Encrypt for automated SSL. Public webhooks, private admin panel. πŸ”

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages