Difficulty: Intermediate
How do you scale a service in Docker Compose?
Use `docker compose up --scale web=5` to run 5 instances of the 'web' service.
Scaling, Compose
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.