Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
docs(using_deis/*): add scale example and clarify process == container
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Dec 6, 2014
1 parent b79add8 commit 344f892
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/using_deis/process-types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,8 @@ For Deis to use your Procfile, add the Procfile to the root of your application,
For Docker image deployments, a Procfile in the current directory or specified by
``deis push --procfile`` will define the default process types for the application.

Use ``deis scale web=3`` to increase ``web`` processes to 3, for example. Scaling a
process type directly changes the number of :ref:`Containers <container>`
running that process.

.. _`process model`: https://devcenter.heroku.com/articles/process-model
4 changes: 4 additions & 0 deletions docs/using_deis/using-buildpacks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ Use ``git push deis master`` to deploy your application.
Because a Heroku-style application is detected, the ``web`` process type is automatically scaled to 1 on first deploy.

Use ``deis scale web=3`` to increase ``web`` processes to 3, for example. Scaling a
process type directly changes the number of :ref:`Containers <container>`
running that process.

Included Buildpacks
-------------------
For convenience, a number of buildpacks come bundled with Deis:
Expand Down
5 changes: 5 additions & 0 deletions docs/using_deis/using-docker-images.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ a private registry.
Because you are deploying a Docker image, the ``cmd`` process type is automatically scaled to 1 on first deploy.

Use ``deis scale cmd=3`` to increase ``cmd`` processes to 3, for example. Scaling a
process type directly changes the number of :ref:`Containers <container>`
running that process.


.. attention::

Support for Docker registry authentication is coming soon
Expand Down
4 changes: 4 additions & 0 deletions docs/using_deis/using-dockerfiles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ Use ``git push deis master`` to deploy your application.
Because a Dockerfile application is detected, the ``cmd`` process type is automatically scaled to 1 on first deploy.

Use ``deis scale cmd=3`` to increase ``cmd`` processes to 3, for example. Scaling a
process type directly changes the number of :ref:`Containers <container>`
running that process.


.. _`Dockerfile`: https://docs.docker.com/reference/builder/
.. _`Docker Image`: https://docs.docker.com/introduction/understanding-docker/
Expand Down

0 comments on commit 344f892

Please sign in to comment.