gkh
This commit is contained in:
parent
9f9ca1ada7
commit
8ca119ab65
1 changed files with 45 additions and 1 deletions
|
|
@ -159,7 +159,51 @@ services:
|
||||||
diun.enable: "true"
|
diun.enable: "true"
|
||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# CADVISOR — Container metrics (all nodes including Pi)
|
# BLACKBOX EXPORTER — HTTP/TCP/ICMP probing
|
||||||
|
# ============================================================
|
||||||
|
blackbox:
|
||||||
|
image: prom/blackbox-exporter:latest
|
||||||
|
environment:
|
||||||
|
TZ: America/Chicago
|
||||||
|
command:
|
||||||
|
- --config.file=/etc/blackbox/blackbox.yml
|
||||||
|
volumes:
|
||||||
|
- /DockerVol/blackbox/config:/etc/blackbox:ro
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.hostname == znas
|
||||||
|
- node.platform.arch != aarch64
|
||||||
|
- node.platform.arch != arm
|
||||||
|
restart_policy:
|
||||||
|
condition: any
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
|
window: 120s
|
||||||
|
labels:
|
||||||
|
# --- Caddy ---
|
||||||
|
caddy: blackbox.netgrimoire.com
|
||||||
|
caddy.reverse_proxy: blackbox:9115
|
||||||
|
caddy.import: crowdsec
|
||||||
|
caddy.import_1: authentik
|
||||||
|
|
||||||
|
# --- Uptime Kuma ---
|
||||||
|
kuma.blackbox.http.name: Blackbox Exporter
|
||||||
|
kuma.blackbox.http.url: https://blackbox.netgrimoire.com
|
||||||
|
|
||||||
|
# --- Homepage ---
|
||||||
|
homepage.group: Monitoring
|
||||||
|
homepage.name: Blackbox
|
||||||
|
homepage.icon: prometheus.png
|
||||||
|
homepage.href: https://blackbox.netgrimoire.com
|
||||||
|
homepage.description: HTTP/TCP Probing
|
||||||
|
|
||||||
|
# --- DIUN ---
|
||||||
|
diun.enable: "true"
|
||||||
|
|
||||||
|
# ============================================================
|
||||||
# Multi-arch image — runs on aarch64 and x86_64
|
# Multi-arch image — runs on aarch64 and x86_64
|
||||||
# ============================================================
|
# ============================================================
|
||||||
cadvisor:
|
cadvisor:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue