Rolling Dice Nginx - An example of health checks
955
Rolling Dice Nginx - An example of health check use
The rules are the following:
The RDN is used in order to help better understand how health checks works. It simulates an application that may or may-not fail during startup.
In order to avoid having the container exit-on-failure, the startup is wrongly designed to launch nginx on the background and tail the access logs.
If the nginx is launched correctly it is exposed on port 80 and outputs the hostname and the dice number on a GET / request.
v1 is released without health-check.v2 is the new and improved version that contains health-check metadata.Content type
Image
Digest
Size
16.3 MB
Last updated
about 10 years ago
docker pull harbur/rolling-dice-nginx