feat: add Gatus template

This commit is contained in:
BinkyTwin
2026-05-20 21:26:07 +02:00
parent 0c3d1ccd20
commit 7e5691b847
4 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
version: "3.8"
services:
gatus:
image: ghcr.io/twin/gatus:v5.36.0
restart: unless-stopped
expose:
- 8080
volumes:
- gatus-data:/data
- ../files/config.yaml:/config/config.yaml:ro
volumes:
gatus-data: {}

View File

@@ -0,0 +1,8 @@
<svg width="128" height="128" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="128" height="128" rx="24" fill="#102A43"/>
<path d="M28 80C34 56 49 42 64 42C79 42 94 56 100 80" stroke="#62D2A2" stroke-width="10" stroke-linecap="round"/>
<path d="M42 80C47 67 55 60 64 60C73 60 81 67 86 80" stroke="#F8F9FA" stroke-width="10" stroke-linecap="round"/>
<circle cx="64" cy="84" r="12" fill="#62D2A2"/>
<path d="M64 84L81 55" stroke="#102A43" stroke-width="6" stroke-linecap="round"/>
<path d="M30 96H98" stroke="#F8F9FA" stroke-width="8" stroke-linecap="round"/>
</svg>

After

Width:  |  Height:  |  Size: 611 B

View File

@@ -0,0 +1,31 @@
[variables]
main_domain = "${domain}"
monitor_name = "Example website"
monitor_url = "https://example.org/"
[config]
[[config.domains]]
serviceName = "gatus"
port = 8080
host = "${main_domain}"
[[config.mounts]]
filePath = "config.yaml"
content = """
storage:
type: sqlite
path: /data/data.db
ui:
title: Gatus
header: Gatus
endpoints:
- name: ${monitor_name}
group: external
url: "${monitor_url}"
interval: 5m
conditions:
- "[STATUS] == 200"
- "[CERTIFICATE_EXPIRATION] > 48h"
"""

View File

@@ -2634,6 +2634,24 @@
"object-storage"
]
},
{
"id": "gatus",
"name": "Gatus",
"version": "v5.36.0",
"description": "Gatus is an automated service health dashboard for monitoring HTTP, DNS, TCP, ICMP, and other endpoints.",
"logo": "gatus.svg",
"links": {
"github": "https://github.com/TwiN/gatus",
"website": "https://gatus.io/",
"docs": "https://github.com/TwiN/gatus#configuration"
},
"tags": [
"monitoring",
"status-page",
"uptime",
"observability"
]
},
{
"id": "ghost",
"name": "Ghost",