mirror of
https://github.com/docker/compose.git
synced 2026-11-17 13:45:39 +00:00
13 lines
236 B
YAML
13 lines
236 B
YAML
services:
|
|
web:
|
|
image: alpine
|
|
init: true
|
|
command: sleep infinity
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
db:
|
|
image: alpine
|
|
command: sh -c "exit 1"
|
|
healthcheck:
|
|
test: ["CMD", "true"]
|