caddyserver / caddy-docker

Source for the official Caddy v2 Docker Image
https://hub.docker.com/_/caddy
Apache License 2.0
409 stars 74 forks source link

add health-checking to the dockerfile #185

Closed MCWertGaming closed 3 years ago

MCWertGaming commented 3 years ago

It would be nice if the docker-deamon could do regular and frequent health checks to make sure that caddy is healthy and running normally. I'm not sure, if caddy has something like an health page (like domain/health) build in or if it's possible with a different approach.

francislavoie commented 3 years ago

I'm not sure, if caddy has something like an health page (like domain/health) build in

It doesn't, because the meaning of "health" differs based on the usecase, and Caddy is "too flexible" for that to be definite.

Best if you implement that yourself according to your own needs.

MCWertGaming commented 3 years ago

Okay, thank you really much!