Last active
January 21, 2021 16:40
-
-
Save hernan43/d8a534b6638421a12ecce73ecf10a173 to your computer and use it in GitHub Desktop.
Sample n8n
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
version: "3" | |
services: | |
n8n: | |
image: n8nio/n8n:latest-rpi | |
ports: | |
- 5678:5678 | |
environment: | |
- N8N_BASIC_AUTH_ACTIVE=true | |
- N8N_BASIC_AUTH_USER=something | |
- N8N_BASIC_AUTH_PASSWORD=something | |
- N8N_HOST=${DOMAIN_NAME} | |
- N8N_PORT=5678 | |
- NODE_ENV=production | |
- WEBHOOK_TUNNEL_URL=https://${DOMAIN_NAME} | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- ${DATA_FOLDER}/.n8n:/home/node/.n8n | |
command: /bin/sh -c "sleep 5; n8n start" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment