☰
Debian Codegraph
@
2.40.3-3
/
/
pkg
/
e2e
/
fixtures
/
hooks
/
compose.yaml
☽
☼
pkg/e2e/fixtures/hooks/compose.yaml
code
plain
raw
Apache-2.0
2020-2025 Docker Compose CLI authors
debian/copyright
1
services:
2
sample:
3
image: nginx
4
volumes:
5
- data:/data
6
pre_stop:
7
- command: sh -c 'echo "In the pre-stop" >> /data/log.txt'
8
test:
9
image: nginx
10
post_start:
11
- command: sh -c 'echo env'
12
volumes:
13
data:
14
name: sample-data