Add Dockerfile

This commit is contained in:
TwinProduction
2019-09-14 19:25:59 -04:00
parent 88c35e30b4
commit fb93c33966
5 changed files with 35 additions and 9 deletions

View File

@ -1,11 +1,7 @@
# gatus (in progress)
A service health dashboard in Go
## Draft
![draft](assets/draft.jpg)
A service health dashboard in Go that is meant to be used as a docker
image with a custom configuration file.
## Usage
@ -14,8 +10,8 @@ A service health dashboard in Go
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
interval: 15s # Duration to wait between every status check (opt. default: 10s)
failure-threshold: 3
conditions:
- "$STATUS == 200"
- name: github
@ -30,3 +26,15 @@ services:
```
go test ./... -mod vendor
```
## Building with Docker
```
docker build . -t gatus
```
## Using in Production
See the [example](example) folder.