mirror of
https://github.com/docker/compose.git
synced 2026-09-24 22:44:24 +00:00
ServiceScale and ReplicaNumbers join the vocabulary: replica counts and numbering read from container labels replace counting 'Started' lines in the CLI output. - TestScaleDownNoRecreate's final assertion now actually runs: the legacy test built the scale-down command without executing it, so 'scale down removes obsolete replicas' was never exercised; the scenario locks the real behavior (stale replicas dropped, up-to-date ones kept, whatever their numbers). - secrets scenarios inline the include-based project (compose.yaml, child project and env_file as one txtar archive). - TestRawEnvFile and TestRunEnvFile inline their env files; TestUnusedMissingEnvFile stays legacy for its completion assertions, which drive the plugin/standalone binaries directly. - Fixtures scale/, env-secret/ and dotenv/raw are removed. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
25 lines
406 B
YAML
25 lines
406 B
YAML
services:
|
|
back:
|
|
image: alpine
|
|
init: true
|
|
command: sleep infinity
|
|
depends_on:
|
|
- db
|
|
db:
|
|
image: alpine
|
|
init: true
|
|
command: sleep infinity
|
|
environment:
|
|
- MAYBE
|
|
front:
|
|
image: alpine
|
|
init: true
|
|
command: sleep infinity
|
|
deploy:
|
|
replicas: 2
|
|
dbadmin:
|
|
image: alpine
|
|
init: true
|
|
command: sleep infinity
|
|
deploy:
|
|
replicas: 0
|