mirror of
https://github.com/docker/compose.git
synced 2026-11-19 22:50:08 +00:00
10 lines
242 B
YAML
10 lines
242 B
YAML
services:
|
|
app:
|
|
image: alpine
|
|
# PID 1 without a SIGTERM handler: only the kill at the end of the timeout stops it
|
|
command: sleep infinity
|
|
stop_grace_period: 2m
|
|
|
|
tests:
|
|
image: alpine
|
|
command: sh -c "sleep 1; exit 3"
|