1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00
⛑ Automated developer-oriented status page
Find a file
TwinProduction fc88d4fd3d Minor update
2019-10-27 21:17:55 -04:00
.github/workflows Minor fix 2019-09-08 21:31:06 -04:00
.idea Add watchdog package 2019-09-04 19:37:13 -04:00
config Add test for bad configuration 2019-10-19 22:03:55 -04:00
core Remove failure-threshold property 2019-10-10 22:42:30 -04:00
example Remove failure-threshold property from example, since it isn't supported yet 2019-10-06 23:04:22 -04:00
static Update page title to Status 2019-10-18 19:55:54 -04:00
vendor Go mod vendor 2019-09-06 00:11:13 -04:00
watchdog Sleep after the first round of monitoring 2019-09-23 21:12:15 -04:00
.dockerignore Add .idea to .dockerignore 2019-10-20 22:38:50 -04:00
config.yaml Remove failure-threshold property 2019-10-10 22:42:30 -04:00
Dockerfile Set port to 8080 instead of 80 2019-10-05 22:20:36 -04:00
go.mod Update go to 1.13 2019-09-08 21:21:19 -04:00
go.sum Go mod vendor 2019-09-06 00:11:13 -04:00
LICENSE.md Rename LICENSE to LICENSE.md 2019-09-03 22:35:56 -04:00
main.go Set port to 8080 instead of 80 2019-10-05 22:20:36 -04:00
README.md Minor update 2019-10-27 21:17:55 -04:00

gatus

Docker pulls

Status: IN PROGRESS

A service health dashboard in Go that is meant to be used as a docker image with a custom configuration file.

Usage

services:
  - name: twinnation  # Name of your service, can be anything
    url: https://twinnation.org/actuator/health
    interval: 15s # Duration to wait between every status check (opt. default: 10s)
    conditions:
      - "$STATUS == 200"
  - name: github
    url: https://api.github.com/healthz
    conditions:
      - "$STATUS == 200"

Docker

Building the Docker image is done as following:

docker build . -t gatus

You can then run the container with the following command:

docker run -p 8080:8080 --name gatus gatus

Running the tests

go test ./... -mod vendor

Using in Production

See the example folder.