gatus. Added.

This commit is contained in:
Alexey Skobkin 2022-02-02 02:43:28 +03:00
parent 9547c1115a
commit e885844d1e
7 changed files with 64 additions and 0 deletions

View file

@ -27,6 +27,7 @@ Not every stack is tested to fully work.
- [x] Duplicati - [x] Duplicati
- [x] Folding@Home - [x] Folding@Home
- [x] [Gatus](https://github.com/TwiN/gatus)
- [ ] Lidarr (didn't test, may not work) - [ ] Lidarr (didn't test, may not work)
- [x] magnetico-web-telegram - [x] magnetico-web-telegram
- [x] magneticod - [x] magneticod

1
gatus/.env.dist Normal file
View file

@ -0,0 +1 @@
HOST_USER=0

1
gatus/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
config.yaml

14
gatus/README.md Normal file
View file

@ -0,0 +1,14 @@
# Gatus monitoring
## Setup
```shell
cp .env.dist .env
cp config.yaml.dist config.yaml
```
Then edit your configuration.
## Docs
Check [github.com/TwiN/gatus](https://github.com/TwiN/gatus/blob/master/README.md) for more information.

34
gatus/config.yaml.dist Normal file
View file

@ -0,0 +1,34 @@
storage:
type: sqlite
path: /data/db.sqlite
endpoints:
- name: blog-wordpress
group: 01-blog
url: "https://skobk.in/"
interval: 5m
conditions:
- "[STATUS] == 200"
- "[CERTIFICATE_EXPIRATION] > 48h"
# alerts:
# - type: telegram
- name: mumble-server-tls
group: 02-services
url: "tls://mumble.skobk.in:64738"
interval: 1m
conditions:
- "[CONNECTED] == true"
- "[CERTIFICATE_EXPIRATION] > 48h"
# alerts:
# - type: telegram
#alerting:
# telegram:
# token: "token"
# id: "chat_id"
# default-alert:
# enabled: true
# send-on-resolved: true
# failure-threshold: 5
# success-threshold: 5

2
gatus/data/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*
!.gitignore

11
gatus/docker-compose.yml Normal file
View file

@ -0,0 +1,11 @@
version: "3.9"
services:
gatus:
image: twinproduction/gatus:latest
ports:
- "127.0.0.1:8080:8080"
volumes:
- ./config.yaml:/config/config.yaml:ro
- ./data:/data/
env_file: .env
user: '${HOST_USER:-0}'