mirror of
https://github.com/docker/compose.git
synced 2026-11-20 23:22:29 +00:00
Most e2e coverage of the start phase runs detached; the foreground `up`, whose create and start phases are driven by separate code paths, had none for hooks, health-gated dependencies, a container that exits as soon as it starts, restarts of exited containers, recreation, dependency timeouts or dry-run. Add scenarios that fix these observables before the machinery behind it changes. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
6 lines
129 B
YAML
6 lines
129 B
YAML
services:
|
|
app:
|
|
image: alpine
|
|
command: sh -c 'echo "value=$VALUE"; sleep 2'
|
|
environment:
|
|
VALUE: ${VALUE:-one}
|