You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not clear how to deploy an app to heroku, we've tried this node tools/publish # where is the name of your web server (see ~/.ssh/config) but we are not quite sure what the host name is for a heroku app. Could you please guide us?
The steps followed were to pass an IP obtained from running this ssh -v git@heroku.com as well as the name of the app.
@dionysiaA you can only push the "api" (Node.js app) to Heroku (as far as I understand, it doesn't allow you to deploy multiple Docker containers configured via docker-compose.yml). Anyhow, in order to build the "api" service you can run:
$ docker-compose run --rm api /bin/sh -c "yarn install; yarn run build"
This will compile source files into the build folder (alternatively you can run yarn install; yarn run build). Then in order to build the "api" Docker image and push it to Heroku, you would run:
But, I would rather use either DigitalOcean or Amazon AWS where you could have SSH access, install and configure Docker Compose running (Node.js API app, Nginx, Redis and Postgres), that's where the tools/publish.js script could be handy.
Not clear how to deploy an app to heroku, we've tried this node tools/publish # where is the name of your web server (see ~/.ssh/config) but we are not quite sure what the host name is for a heroku app. Could you please guide us?
The steps followed were to pass an IP obtained from running this ssh -v git@heroku.com as well as the name of the app.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: