feat: populate monitoring targets from compose Host labels

Add 27 HTTPS targets from Traefik compose files; Basic Auth services
expect 200 or 401. Exclude inactive sboa and non-Traefik hosts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Frank Schwenk
2026-06-12 15:35:14 +02:00
parent 85ab829805
commit dab32cc86b
+27 -6
View File
@@ -3,8 +3,9 @@
declare(strict_types=1);
/**
* External HTTPS monitoring targets.
* After manual infra review: bump _meta.last_reviewed_at and deploy.
* External HTTPS monitoring targets (boka / Traefik).
* Quelle: Host()-Labels in ~/…/compose.yml und ~/…/docker-compose.yml
* After manual infra review: bump _meta.last_reviewed_at and deploy to 0012.de.
*/
return [
@@ -12,12 +13,32 @@ return [
'last_reviewed_at' => '2026-06-12',
],
'targets' => [
['name' => 'affen.schwenk.online', 'url' => 'https://affen.schwenk.online', 'expect' => 200],
['name' => 'api.bringtake.schwenk.online', 'url' => 'https://api.bringtake.schwenk.online', 'expect' => 200],
['name' => 'beer.schwenk.online', 'url' => 'https://beer.schwenk.online', 'expect' => 200],
['name' => 'beta.score.bsc-gp.de', 'url' => 'https://beta.score.bsc-gp.de', 'expect' => 200],
['name' => 'bringtake.schwenk.online', 'url' => 'https://bringtake.schwenk.online', 'expect' => 200],
['name' => 'bsc-gp.de', 'url' => 'https://bsc-gp.de', 'expect' => 200],
['name' => 'eselhoefe.de', 'url' => 'https://eselhoefe.de', 'expect' => 200],
['name' => 'everlasting-flame.de', 'url' => 'https://everlasting-flame.de', 'expect' => 200],
['name' => 'f12.rocks', 'url' => 'https://f12.rocks', 'expect' => 200],
['name' => 'frank-schwenk.de', 'url' => 'https://frank-schwenk.de', 'expect' => 200],
['name' => 'fussballdeical.schwenk.online', 'url' => 'https://fussballdeical.schwenk.online', 'expect' => 200],
['name' => 'gitea.schwenk.online', 'url' => 'https://gitea.schwenk.online', 'expect' => 200],
['name' => 'kkwebskeleton.schwenk.online', 'url' => 'https://kkwebskeleton.schwenk.online', 'expect' => [200, 401]],
['name' => 'link.schwenk.online', 'url' => 'https://link.schwenk.online', 'expect' => 200],
['name' => 'medis.schwenk.online', 'url' => 'https://medis.schwenk.online', 'expect' => 200],
['name' => 'pics.schwenk.online', 'url' => 'https://pics.schwenk.online', 'expect' => 200],
['name' => 'portainer.schwenk.online', 'url' => 'https://portainer.schwenk.online', 'expect' => [200, 401]],
['name' => 'practice.bsc-gp.de', 'url' => 'https://practice.bsc-gp.de', 'expect' => 200],
['name' => 'psitransfer.schwenk.online', 'url' => 'https://psitransfer.schwenk.online', 'expect' => 200],
['name' => 'rotation.bsc-gp.de', 'url' => 'https://rotation.bsc-gp.de', 'expect' => 200],
['name' => 'schwenk.online', 'url' => 'https://schwenk.online', 'expect' => 200],
['name' => 'gitea', 'url' => 'https://gitea.schwenk.online', 'expect' => 200],
['name' => 'pics', 'url' => 'https://pics.schwenk.online', 'expect' => 200],
['name' => 'medis', 'url' => 'https://medis.schwenk.online', 'expect' => 200],
['name' => 'portainer', 'url' => 'https://portainer.schwenk.online', 'expect' => [200, 401]],
['name' => 'score.bsc-gp.de', 'url' => 'https://score.bsc-gp.de', 'expect' => 200],
['name' => 'shotclock.bsc-gp.de', 'url' => 'https://shotclock.bsc-gp.de', 'expect' => 200],
['name' => 'sostehtsgeschrieben.de', 'url' => 'https://sostehtsgeschrieben.de', 'expect' => 200],
['name' => 'taxi.schwenk.online', 'url' => 'https://taxi.schwenk.online', 'expect' => 200],
['name' => 'traefik.schwenk.online', 'url' => 'https://traefik.schwenk.online', 'expect' => [200, 401]],
['name' => 'vfb.red', 'url' => 'https://vfb.red', 'expect' => 200],
],
];