<p>I have a docker-compose with 4 containers deployed in production.<br />
I wanted to use docker <code>scale</code> for the nodejs part. (with nginx LB)<br />
If the docker-compose <code>scale</code> is done on the host machine, how does it suppose to improve performance, I did not limit the resources for that container, it means that it can burst as much as the host allows it.</p>
<p>What docker-compose scale is good for anyway?</p>
<p>Thanks</p>

<docker-compose>
Docker compose scale, what is it good for?
SexyMF
# Docker compose scale, what is it good for?

(Asked by: username_0 on 2020-10-28)

I have a docker-compose with 4 containers deployed in production.  
I wanted to use docker `scale` for the nodejs part. (with nginx LB)  
If the docker-compose `scale` is done on the host machine, how does it suppose to improve performance, I did not limit the resources for that container, it means that it can burst as much as the host allows it.

What docker-compose scale is good for anyway?

Thanks

**Tags:** docker-compose


---

## 0 answers

