Add Dockerfile
This commit is contained in:
24
README.md
24
README.md
@ -1,11 +1,7 @@
|
||||
# gatus (in progress)
|
||||
|
||||
A service health dashboard in Go
|
||||
|
||||
|
||||
## Draft
|
||||
|
||||

|
||||
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.
|
||||
|
Reference in New Issue
Block a user