DEV Community

Discussion on: How to Dockerize a Node app and deploy to Heroku

Collapse
 
shameekagarwal profile image
shameekagarwal

github.com/shameekagarwal/gql
three different heroku apps frontend (in react, served via nginx), backend (in expressjs), and a reverse proxy (nginx)

Thread Thread
 
bronifty profile image
bronifty • Edited

I don't think Heroku is an effective microservices orchestration tool. You might want to try something like Okteto or Fly.io. (A lot of people like Heroku because it's a free VPS; the ones I mentioned are too.) I've got a working example of the reverse proxy in docker code up on Okteto. Fly works sometimes and other times it's tricky. I didn't bother trying to get it to work there. But here's a link to a recent poast and it also has the git repo and the example. Have a good one.

dev.to/bronifty/nginx-reverse-prox...

Thread Thread
 
shameekagarwal profile image
shameekagarwal

thanks!!
my example does work..but heroku isnt for container orchestration..just deploy containers..