##// END OF EJS Templates
docs: updated few instructions
docs: updated few instructions

File last commit:

r278:987f2881
r280:bae06fe2
Show More
scaling-rhodecode.rst
32 lines | 952 B | text/x-rst | RstLexer
docs: added initial version of documentation
r276 .. _scaling-rhodecode:
==============================
docs: updated / UI changes
r278 Scaling to handle more traffic
docs: added initial version of documentation
r276 ==============================
In case for bigger setups docker-compose can scale more rhodecode/vcsserver workers:
Adjust the .custom/docker-compose-apps.override.yaml file and change `replicas: NUM`
.. code-block:: yaml
services:
rhodecode:
deploy:
# set number of instances of services to be spawned on stack start
replicas: 4
vcsserver:
deploy:
# set number of instances of services to be spawned on stack start
replicas: 4
Generally replicas of vcsserver and rhodecode should be equal, but each replica should have `workers=N` directive set
to `workers=2` for rhodecode `workers=3` for vcsserver.
Then scale docker replicas without any downtime using this command
.. code-block:: bash
./rcstack stack rhodecode up --detach --no-recreate --scale rhodecode=4 --scale vcsserver=4