man0l / n8n-heroku-deploy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

n8n-heroku-deploy

Forked from https://github.com/sarveshpro/n8n-heroku and https://github.com/UnlyEd/n8n-heroku-demo

Docker Heroku

Deploy

What does this repo do?

This is a Heroku focused container implementation for n8n. Just connect your fork of this repo to heroku and let it work its charm!

Updates & fixes to original repo

  1. Updated node.js and n8n versions in Dockerfile

Dockerfile screenshot

  1. Updated app.json to address some bugs.

How to

  1. Fork the repo then make version or config changes.
  2. You can change the following variables in the UI (or in app.json before deploying to Heroku)
  • Change user name and password from the default user/pass.

user pass screenshot

random string screenshot

  • Update WEBHOOK_TUNNEL_URL to match your heroku app url. The format is usually "your-app-name.herokuapp.com". This fixes the problem with webhook urls generated with "localhost" instead of your domain name. More info here: sarveshpro/n8n-heroku#16 (comment)

app url screenshot

  1. Click the "Deploy to Heroku" button, log in, configure the app and environment variables (if you haven't done it in app.json). The app will be ready to launch in about 5 minutes.

Note

If you're using the free/hobby plan, your app will go to sleep in about 20 minutes. You won't lose any data and it will take around 10-20 seconds to wake back up. If you want to run timed workflows, you can use a service like https://cron-job.org to wake up your app whenever you need it. When you're using an external cron job, you won't need the Cron node inside n8n. I use a webhook instead.

What is n8n (Nodemation?)

n8n is a fair code, workflow automation tool that allows you to connect any API with another, without having to do much coding. Think of it as Zapier on steroids, without the price tag. They also have a fully managed cloud version that's extremely affordable. This heroku build is great for evaluating n8n, sharing workflows with team members and getting to know the internals, but I'd encourage you to sign up and support n8n once you're done testing (I'm not an affiliate, just a fan.)

Sources

https://github.com/n8n-io/n8n

About

License:MIT License


Languages

Language:Shell 71.3%Language:Dockerfile 28.7%