Anonymous
×
Create a new article
Write your page title here:
We currently have 27 articles on PhenixOps. Type your article name above or click on one of the titles below and start writing!



PhenixOps
27Articles

Scaling: Difference between revisions

No edit summary
No edit summary
 
Line 1: Line 1:
== Scaling a Container ==
== Scaling a Container ==


Scale up to 20 containers
Containers can easily be scaled when launched through Docker Compose <br>
 
==== Scale up to 20 containers ====
<code>
<code>
docker-compose scale phenixapp=20  
docker-compose scale phenixapp=20  
</code> <br>
</code> <br>


==== Scale down to 2 containers ====
<code>
<code>
 
docker-compose scale phenixapp=2
</code> <br>
<code>
 
</code> <br>
 
<code>
 
</code> <br>
 
<code>
 
</code> <br>
 
<code>
 
</code> <br>
</code> <br>



Latest revision as of 23:20, 24 April 2020

Scaling a Container

Containers can easily be scaled when launched through Docker Compose

Scale up to 20 containers

docker-compose scale phenixapp=20

Scale down to 2 containers

docker-compose scale phenixapp=2

See also Docker Compose