cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

💡Add docker healthcheck

Open juma-allan opened this issue 1 year ago • 1 comments

Describe the feature you'd like A clear and concise description of the feature. What problem does it solve for you?

A healthcheck would enable us to programatically restart the container incase of any failure

juma-allan avatar Jun 08 '24 14:06 juma-allan

Try this:

    healthcheck:
      test: ["CMD", "cloudflared", "version"]
      interval: 60s
      timeout: 20s
      retries: 5
      start_period: 10s

nvroot avatar Mar 10 '25 10:03 nvroot