Add example

This commit is contained in:
TwinProduction 2019-09-14 19:59:05 -04:00
parent fb93c33966
commit c734e32e21
4 changed files with 13 additions and 2 deletions

View File

@ -1,2 +1,2 @@
examples
example
.github

View File

@ -1,4 +1,6 @@
# gatus (in progress)
# gatus
[![Docker pulls](https://img.shields.io/docker/pulls/twinproduction/gatus.svg)](https://cloud.docker.com/repository/docker/twinproduction/gatus)
A service health dashboard in Go that is meant to be used as a docker
image with a custom configuration file.

2
example/Dockerfile Normal file
View File

@ -0,0 +1,2 @@
FROM twinproduction/gatus
ADD config.yaml ./

7
example/config.yaml Normal file
View File

@ -0,0 +1,7 @@
services:
- name: example
url: http://example.org
interval: 30s
failure-threshold: 3
conditions:
- "$STATUS == 200"