Last active
March 3, 2025 07:15
-
-
Save ahbanavi/308b27b5538559352dac960d48772cde to your computer and use it in GitHub Desktop.
Docker Compose configuration for setting up n8n
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://gist.github.com/ahbanavi/308b27b5538559352dac960d48772cde | |
services: | |
n8n: | |
image: docker.n8n.io/n8nio/n8n | |
container_name: n8n | |
restart: always | |
environment: | |
N8N_SECURE_COOKIE: false # If you also want to use it with localhost | |
WEBHOOK_URL: https://n8n.example.com # The domain configured in Cloudflare Zero Trust | |
ports: | |
- "5678:5678" | |
volumes: | |
- n8n_data:/home/node/.n8n | |
volumes: | |
n8n_data: | |
external: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment