From 0bb6096918dcb7a8395fb2b593b1d3e786a469b0 Mon Sep 17 00:00:00 2001 From: traveler Date: Tue, 21 Apr 2026 19:31:09 -0500 Subject: [PATCH] gatus --- swarm/stack/gatus.yaml | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 swarm/stack/gatus.yaml diff --git a/swarm/stack/gatus.yaml b/swarm/stack/gatus.yaml new file mode 100644 index 0000000..b47e63a --- /dev/null +++ b/swarm/stack/gatus.yaml @@ -0,0 +1,47 @@ +services: + gatus: + image: twinproduction/gatus:latest + volumes: + - /DockerVol/gatus/config:/config + - /DockerVol/gatus/data:/data + environment: + PUID: "1964" + PGID: "1964" + TZ: America/Chicago + GATUS_CONFIG_PATH: /config/config.yaml + networks: + - netgrimoire + deploy: + restart_policy: + condition: any + delay: 5s + max_attempts: 3 + window: 120s + placement: + constraints: + - node.platform.arch != aarch64 + - node.platform.arch != arm + - node.hostname == znas + labels: + caddy: status.netgrimoire.com + caddy.reverse_proxy: gatus:8080 + caddy.import_1: crowdsec + caddy.import_2: authentik + + monitor.name: Gatus + monitor.url: https://status.netgrimoire.com + monitor.type: http + + homepage.group: NetGrimoire + homepage.name: Gatus + homepage.icon: gatus.png + homepage.href: https://status.netgrimoire.com + homepage.description: Service Monitor + + diun.enable: "true" + + gremlin.monitor.skip: "true" + +networks: + netgrimoire: + external: true \ No newline at end of file