📜  healthcheck docker compose - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:40.647000             🧑  作者: Mango

代码示例1
healthcheck:
  test: ["CMD", "curl", "-f", "http://localhost"]
  interval: 1m30s
  timeout: 10s
  retries: 3
  start_period: 40s