docker-compose.yml 386 B

123456789101112131415161718192021222324
  1. version: "3"
  2. services:
  3. passes:
  4. image: busybox
  5. command: top
  6. healthcheck:
  7. test: "/bin/true"
  8. interval: 1s
  9. timeout: 30m
  10. retries: 1
  11. fails:
  12. image: busybox
  13. command: top
  14. healthcheck:
  15. test: ["CMD", "/bin/false"]
  16. interval: 2.5s
  17. retries: 2
  18. disabled:
  19. image: busybox
  20. command: top
  21. healthcheck:
  22. disable: true