Back to Home
lingga1997 icon

full-stack-proxy-nginx-n8n-for-everyone-with-docker-compose

by lingga1997

Overview

Deploys a self-hosted n8n instance with an NGINX reverse proxy and SSL certificates (Let's Encrypt or self-signed) using Docker Compose.

Installation

Run Command
docker compose up -d

Environment Variables

  • DOMAIN_NAME
  • SUBDOMAIN
  • LETSENCRYPT_EMAIL
  • LOCAL_TIMEZONE
  • N8N_IMAGE_VERSION
  • LETSENCRYPT_CONF_PREFIX
  • PROXY_PREFIX

Security Notes

The `install.sh` script sets `/var/run/docker.sock` permissions to `666`, which grants full control over the Docker daemon to all users on the system, effectively providing root access to anyone. This is a critical security vulnerability and should be avoided, especially in multi-user environments. Additionally, the script downloads and compiles `mkcert` from GitHub via `git clone` and `go build`, and directly `curl`s the Docker Compose binary from GitHub releases. While common practices, these introduce supply chain risks if the external repositories or download sources are compromised.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassLow
Stars0
Forks0
Last Update2026-01-19

Tags

automationn8nself-hosteddocker-composenginx