mirror of https://github.com/docker/docs.git
added x-ref from scale reference to replicas in v3 Compose
incorporated Joffrey's comments surface h1's in left menu on Compose file refs, fix liquid issue Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
This commit is contained in:
parent
c35a42a1a3
commit
a6eb34f018
|
@ -301,7 +301,6 @@ ng\:form {
|
|||
{% endif %}
|
||||
<div id="side-toc"><div id="side-toc-title">On this page:</div><div id="side-toc-contents">{% include toc_pure_liquid.html html=my_content sanitize=true class="inline_toc" id="my_toc" toc_min=my_min toc_max=my_max page_name=my_name %}</div></div>
|
||||
{% endunless %}
|
||||
<div>{{content}}</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -13,3 +13,9 @@ Sets the number of containers to run for a service.
|
|||
Numbers are specified as arguments in the form `service=num`. For example:
|
||||
|
||||
docker-compose scale web=2 worker=3
|
||||
|
||||
>**Tip:** Alternatively, in
|
||||
[Compose file version 3.x](/compose/compose-file/index.md), you can specify
|
||||
[`replicas`](/compose/compose-file/index.md#replicas)
|
||||
under [`deploy`](/compose/compose-file/index.md#deploy) as part of the
|
||||
service configuration for [Swarm mode](/engine/swarm/).
|
||||
|
|
Loading…
Reference in New Issue