45 lines
868 B
Markdown
45 lines
868 B
Markdown
# gatus
|
|
|
|
[](https://cloud.docker.com/repository/docker/twinproduction/gatus)
|
|
|
|
**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
|
|
|
|
```yaml
|
|
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](example) folder.
|