Closed bohdan-shulha closed 2 days ago
To improve reliability of the hosted services, Swarm needs to know whether the service is healthy or not.
https://docs.docker.com/engine/api/v1.46/#tag/Service/operation/ServiceCreate
Example usage here: https://github.com/dunglas/frankenphp/blob/main/Dockerfile#L27
Should be implemented as an input after the release/run command.
Release/run commands and healthcheck have to be implemented as a secondary actions.
To improve reliability of the hosted services, Swarm needs to know whether the service is healthy or not.
https://docs.docker.com/engine/api/v1.46/#tag/Service/operation/ServiceCreate
Example usage here: https://github.com/dunglas/frankenphp/blob/main/Dockerfile#L27