mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2026-06-11 06:16:18 +00:00
Füge Konfigurationsdateien für Gatus, Mosquitto, Postgres und MeshDash hinzu; aktualisiere Moodle-Umgebungsvariablen und erstelle Webstack-Dokumentation
This commit is contained in:
21
gatus/compose.yml
Normal file
21
gatus/compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
# https://github.com/TwiN/gatus/blob/master/.examples/docker-compose/docker-compose.yml
|
||||
|
||||
#
|
||||
|
||||
name: gatus
|
||||
|
||||
services:
|
||||
gatus:
|
||||
image: twinproduction/gatus:latest
|
||||
container_name: gatus
|
||||
ports:
|
||||
- 8080:8080
|
||||
volumes:
|
||||
- ./config:/config
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
40
gatus/config/config.yaml
Normal file
40
gatus/config/config.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
|
||||
|
||||
ui:
|
||||
default-sort-by: group
|
||||
|
||||
connectivity:
|
||||
checker:
|
||||
target: 1.1.1.1:53
|
||||
interval: 60s
|
||||
|
||||
endpoints:
|
||||
- name: website # Name of your endpoint, can be anything
|
||||
group: Test
|
||||
url: "https://twin.sh/health"
|
||||
interval: 5m # Duration to wait between every status check (default: 60s)
|
||||
conditions:
|
||||
- "[STATUS] == 200" # Status must be 200
|
||||
- "[BODY].status == UP" # The json path "$.status" must be equal to UP
|
||||
- "[RESPONSE_TIME] < 300" # Response time must be under 300ms
|
||||
alerts:
|
||||
- type: telegram
|
||||
|
||||
- name: make-sure-header-is-rendered
|
||||
group: Test
|
||||
url: "https://example.org/"
|
||||
interval: 60s
|
||||
conditions:
|
||||
- "[STATUS] == 200" # Status must be 200
|
||||
- "[BODY] == pat(*<h1>Example Domain</h1>*)" # Body must contain the specified header
|
||||
alerts:
|
||||
- type: telegram
|
||||
|
||||
- name: Guacamole
|
||||
group: Local
|
||||
url: "http://host.docker.internal:80"
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
alerts:
|
||||
- type: telegram
|
||||
|
||||
Reference in New Issue
Block a user