mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-16 01:44:51 +03:00
Update deployment-with-docker.rst
This commit is contained in:
parent
72da0bfa9c
commit
2c03844e47
|
@ -124,8 +124,8 @@ To check the logs out, run::
|
||||||
|
|
||||||
If you want to scale your application, run::
|
If you want to scale your application, run::
|
||||||
|
|
||||||
docker-compose -f production.yml scale django=4
|
docker-compose -f production.yml up --scale django=4
|
||||||
docker-compose -f production.yml scale celeryworker=2
|
docker-compose -f production.yml up --scale celeryworker=2
|
||||||
|
|
||||||
.. warning:: don't try to scale ``postgres``, ``celerybeat``, or ``traefik``.
|
.. warning:: don't try to scale ``postgres``, ``celerybeat``, or ``traefik``.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user