Created
August 4, 2025 01:52
-
-
Save hunzo/cca79c6ecbfc1667a8436d756cef4125 to your computer and use it in GitHub Desktop.
docker n8n with reverse proxy
This file contains hidden or 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
services: | |
n8n: | |
image: n8nio/n8n | |
restart: unless-stopped | |
ports: | |
- 5678:5678 | |
environment: | |
- N8N_BASIC_AUTH_ACTIVE=true | |
- N8N_BASIC_AUTH_USER=your_admin_user | |
- N8N_BASIC_AUTH_PASSWORD=your_admin_password | |
- N8N_HOST=your_domain.name | |
- N8N_PORT=5678 | |
- N8N_PROTOCOL=https | |
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true | |
- N8N_RUNNERS_ENABLED=true | |
- WEBHOOK_URL=https://your_domain.name/ | |
- TZ=Asia/Bangkok | |
- LINE_CHANNEL_ACCESS_TOKEN=exmaple_line_access_token | |
volumes: | |
- n8n_data:/home/node/.n8n | |
networks: | |
- n8n-net | |
redis: | |
image: redis | |
ports: | |
- 6379:6379 | |
networks: | |
- n8n-net | |
volumes: | |
n8n_data: | |
networks: | |
n8n-net: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment