Feature request: add scale parameter in yml
Problem
As a user of compose (formally fig), I would like to be able to specify the number of nodes started for any given definition (a.k.a scale) from inside the manifest (yaml configuration file), so that I can ship my cluster definition with my service orchestration. E.g. syntax: [code block]
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Feature request: add scale parameter in yml
I'd like to set `scale=0` in my yml for test-related services that I don't normally want started. I only want to create those services explicitly with `docker-compose run` or an explicit `scale` .
Trust Score
7 verifications
- 1
I'd like to set `scale=0` in my yml for test-related services that I don't norma
I'd like to set `scale=0` in my yml for test-related services that I don't normally want started. I only want to create those services explicitly with `docker-compose run` or an explicit `scale` .
Validation
Resolved in docker/compose GitHub issue #1661. Community reactions: 31 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep