Home Explore Blog CI



docker

content/includes/compose/services-healthcheck.md
eb1e22f61c77bd1601445207218225870bba1896fde771ba0000000300000144
The `healthcheck` attribute declares a check that's run to determine whether or not the service containers are "healthy". It works in the same way, and has the same default values, as the HEALTHCHECK Dockerfile instruction
set by the service's Docker image. Your Compose file can override the values set in the Dockerfile. 

Chunks
96fc24d2 (1st chunk of `content/includes/compose/services-healthcheck.md`)
Title: Healthcheck Attribute in Compose Files
Summary
The `healthcheck` attribute in a Compose file defines a check to determine the health of service containers, similar to the HEALTHCHECK instruction in a Dockerfile. Compose files can override healthcheck values defined in the Dockerfile.