Heroku Procfile with web process type -


i deploying create-react-app uses express server server-side rendering.

i using cra buildpack: https://github.com/mars/create-react-app-buildpack , procfile web process type.

i'm not sure when web processes run. procfile executed once when deployed?

by default, heroku runs 1 dyno web process, , receives inbound http traffic. happen after first deployment. can choose scale up/down number of dynos each process type if required, including not running web process @ all.

here's link heroku article explains this: https://devcenter.heroku.com/articles/procfile

excerpt:

the web process type special it’s process type receive http traffic heroku’s routers. other process types can named arbitrarily.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -