1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00
twin-gatus/README.md
2019-10-04 14:12:21 -04:00

868 B

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)
    failure-threshold: 3 # TODO
    conditions:
      - "$STATUS == 200"
  - name: github
    url: https://api.github.com/healthz
    conditions:
      - "$STATUS == 200"

Running the tests

go test ./... -mod vendor

Building with Docker

docker build . -t gatus

Using in Production

See the example folder.