{"repo":"AiratTop/n8n-self-hosted","free":true,"listed":false,"github":"https://github.com/AiratTop/n8n-self-hosted","clone":"git clone https://github.com/AiratTop/n8n-self-hosted.git","description":"Production-ready Docker Compose setup for a scalable and secure self-hosted n8n. Includes Caddy (auto-HTTPS), workers, backup scripts, and security best practices out of the box.","language":"Shell","stars":12,"topics":["automation","backup","caddy","deployment","devops","docker","docker-compose","n8n","n8n-automation","postgres"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"n8n Self-Hosted with Docker This repository provides a Docker Compose setup for running a self-hosted n8n instance with scaling capabilities. Features - Works out of the box: Just configure the .env file and run the start script. - Scalable: Runs n8n in queue mode with separate workers, ready for high loads. - Handles Large Files: Configured to save binary data to the filesystem, allowing workflows to process large files without memory issues. - Ready-to-use Scripts: Includes simple scripts to start, restart, and update the application. - Long-term History: Execution history is stored for 2 months. - Secure: Uses the latest recommended security environment variables for n8n. - Private: n8n telemetry is disabled by default. - Full-featured: SMTP is pre-configured for password recovery and other email functions. - Automatic HTTPS: Uses Caddy as a reverse proxy for automatic SSL certificates. - Persistent Data: Data is stored in a PostgreSQL database. - Caching: Uses Redis for caching. Prerequisites - Docker and Docker Compose installed. - A domain name pointed to your server's IP address. - A .env file with the required environment variables. Usage 1. Clone the repository: 2. Create the shared network: This setup uses a shared network to easily connect to external databases. If you haven't already, create the network: 3. Configure the environment: Open the .env file and update the variables with your own settings. You can use my Open Source password generator to create a strong","default_branch":null,"files":null,"tree":[],"storefront":"/r/AiratTop","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AiratTop/n8n-self-hosted/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}