Update deprecated scale command to up --scale

The scale command is deprecated: Use the up command with the `--scale` flag instead.
This commit is contained in:
Bruno Alla 2021-01-28 10:46:03 +00:00 committed by GitHub
parent 8e031e760f
commit 7b92bc388d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,8 +124,8 @@ To check the logs out, run::
If you want to scale your application, run::
docker-compose -f production.yml scale django=4
docker-compose -f production.yml scale celeryworker=2
docker-compose -f production.yml up --scale django=4
docker-compose -f production.yml up --scale celeryworker=2
.. warning:: don't try to scale ``postgres``, ``celerybeat``, or ``traefik``.