From c734e32e21df3ceae9ae72c1a9167c95e5e614c8 Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Sat, 14 Sep 2019 19:59:05 -0400 Subject: [PATCH] Add example --- .dockerignore | 2 +- README.md | 4 +++- example/Dockerfile | 2 ++ example/config.yaml | 7 +++++++ 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 example/Dockerfile create mode 100644 example/config.yaml diff --git a/.dockerignore b/.dockerignore index 2a78cb35..535ad661 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,2 @@ -examples +example .github \ No newline at end of file diff --git a/README.md b/README.md index e635e809..56dce33b 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/example/Dockerfile b/example/Dockerfile new file mode 100644 index 00000000..dd20295a --- /dev/null +++ b/example/Dockerfile @@ -0,0 +1,2 @@ +FROM twinproduction/gatus +ADD config.yaml ./ \ No newline at end of file diff --git a/example/config.yaml b/example/config.yaml new file mode 100644 index 00000000..d0c1470f --- /dev/null +++ b/example/config.yaml @@ -0,0 +1,7 @@ +services: + - name: example + url: http://example.org + interval: 30s + failure-threshold: 3 + conditions: + - "$STATUS == 200"