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

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"