Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (35 sloc) 1.03 KB
NodeJS App Web and Worker process type

Deploy monorepo in single app on Heroku


assume that your have a monorepo folder tree like this:

  1. In your monorepo root create .buildpacks file

  2. Add a Procfile

    In root folder.

    web: cd webapp && npm start
    worker: cd workerapp && npm start
  3. Create an app <my-app> on heroku and set up git in your monorepo folder

  4. Add Buildpack config in your <my-app> settings

  5. Git push heroku master

  6. Scale your web et worker

    heroku ps:scale web=1 worker=1

Ask me :

You can’t perform that action at this time.