This is a simple http server created with Deno to run it in a remote location in order to hit and check that is reachable through internet.
It responds with an HTTP Status Code 200
and a JSON response:
{
"live": "ok"
}
docker build --rm -t http-probe .
docker run -itd -p 8000:8000 --restart always http-probe
docker run -itd -p 8000:8000 --restart always davidmna/http-probe
Use --restart
flag to start container automatically after a Docker restart.