gatus/README.md

44 lines
836 B
Markdown
Raw Normal View History

2019-09-15 01:59:05 +02:00
# gatus
[![Docker pulls](https://img.shields.io/docker/pulls/twinproduction/gatus.svg)](https://cloud.docker.com/repository/docker/twinproduction/gatus)
2019-09-05 01:37:13 +02:00
2019-09-22 04:39:28 +02:00
**Status:** IN PROGRESS
2019-09-15 01:25:59 +02:00
A service health dashboard in Go that is meant to be used as a docker
image with a custom configuration file.
2019-09-11 03:05:57 +02:00
## Usage
2019-09-05 01:37:13 +02:00
```yaml
services:
- name: twinnation # Name of your service, can be anything
2019-09-05 01:37:13 +02:00
url: https://twinnation.org/actuator/health
2019-09-15 01:25:59 +02:00
interval: 15s # Duration to wait between every status check (opt. default: 10s)
2019-09-05 01:37:13 +02:00
conditions:
- "$STATUS == 200"
- name: github
url: https://api.github.com/healthz
conditions:
- "$STATUS == 200"
```
## Running the tests
```
go test ./... -mod vendor
```
2019-09-15 01:25:59 +02:00
## Building with Docker
```
docker build . -t gatus
```
## Using in Production
See the [example](example) folder.