Simple monitor server to check uptime of any target reachable through HTTP.
The Go Uptime is composed of an API and APP separated in different projects.
This current project is responsible for manipulating the targets data and polling all targets' URL to check if each one is up or down. Also the monitor will listen to all Docker events and capture the URL from all containers that has the VIRTUAL_HOST
environment variable.
Concerned in a better user experience the monitor uses web socket to notify the connected clients when a target has been created or updated.
The simplest way is using Dockito vagrant box and docker-compose to provide a configured environment for you.
Setup the Dockito vagrant box then inside the VM execute the command below to the docker-compose start the container:
docker-compose run local