✳️ Replace the highlighted information with your own
📌 Prepare
Google Account 👉 https://console.cloud.google.com/
NGROK 👉 https://dashboard.ngrok.com/
NGROK-N8N 👉 https://NGROK-N8N
OAuth Client Redirect URL 👉 https://NGROK-N8N/rest/oauth2-credential/callback
Client ID 👉 Your-Client-ID
Client secret 👉 Your-Client-Secret
📌 Install
wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-stable-linux-amd64.zip
ngrok config add-authtoken YOUR-TOKEN
nohup ngrok http 5678 > ngrok.log 2>&1 &
curl http://localhost:4040/api/tunnels | grep public_url
📌 docker-compose.yml
environment:
- N8N_HOST=NGROK-N8N
- N8N_PORT=5678
- N8N_PROTOCOL=https
- WEBHOOK_URL=https://NGROK-N8N
- N8N_EDITOR_BASE_URL=https://NGROK-N8N
- NODE_ENV=production