compose.yaml 185 B

123456789
  1. services:
  2. service1:
  3. image: alpine
  4. command: /bin/true
  5. service2:
  6. image: alpine
  7. command: ping -c 2 localhost
  8. pre_stop:
  9. - command: echo "stop hook running..."