Pushing custom n8n image to Heroku

I have successfully created an custom n8n docker image with my custom node and it runs flawlessly in a container. Now I want to push this container or image to Heroku. Is there any way that I can achieve this, any documents?

I followed some questions and created heroku app but I’m getting this error when I try to open the app.

2022-03-01T21:53:27.416500+00:00 heroku[router]: at=error code=H10 desc="App crashed" method
=GET path="/" host=n8n-custom.herokuapp.com request_id=1092181e-d293-4c64-b2bd-5caa09dd8f22 fwd="31.223.26.183" dyno= connect= service= status=503 bytes= protocol=https

Codes that I followed:

heroku login
heroku create APP_NAME
heroku stack:set contaner --app APP_NAME
heroku container:login
docker tag DOCKER_NAME registry.heroku.com/APP_NAME/web
docker push registry.heroku.com/APP_NAME/web
heroku container:release web --app=APP_NAME

Hey @burakyccl, this looks like an error coming from Heroku rather than n8n. Any chance you can take a look at the actual container log to see why it might have crashed?

Hi @burakyccl, did you manage to find a fix for this? Thanks.

Hi. Sorry but no, I couldn’t resolve this issue because I don’t need it for now.