scale web to 1 by default and ignore all others

This commit is contained in:
Michael Hobbs
2015-04-21 22:13:45 -07:00
parent eb0935a691
commit c2fa8d14c9
2 changed files with 4 additions and 32 deletions

View File

@@ -18,7 +18,7 @@ ps:stop <app> Stop app container(s)
## Scaling
Dokku allows you to run multiple process types at different container counts. For example, if you had an app that contained 1 web app listener and 1 background job processor, dokku will, by default, spin up 1 container for each process type defined in the Procfile. If you wanted 2 job processors running simultaneously, you can modify this behavior in a few ways.
Dokku allows you to run multiple process types at different container counts. For example, if you had an app that contained 1 web app listener and 1 background job processor, dokku can, spin up 1 container for each process type defined in the Procfile. By default we will only start the web process. However, if you wanted 2 job processors running simultaneously, you can modify this behavior in a few ways.
## Include a DOKKU_SCALE file in your repo