This repository contains Docker Compose files for deploying n8n with Traefik as a reverse proxy (on debug mode). n8n is a workflow automation tool that enables users to integrate and automate various services and applications.
-
Clone the repository:
git clone https://github.com/HarryVasanth/n8n-docker.git
-
Navigate to the project directory:
cd n8n-docker
-
Create a
.env
file using.env.example
as a template and customize the values.
cp .env.example .env
-
Deploy n8n using the main
docker-compose.yml
:docker-compose up -d
For debugging, use the docker-compose.debug.yml
file:
docker-compose -f docker-compose.debug.yml up -d
-
Main Configuration (
docker-compose.yml
): Configures n8n with environment variables. -
Debug Configuration (
docker-compose.debug.yml
): Adds Traefik for debugging, exposing its API. -
Environment Variables (
.env
): Define subdomain, domain, port, and timezone for n8n (additional SSL email for debug).
Access n8n at https://<SUBDOMAIN>.<DOMAIN_NAME>
.