Commit Graph
7 Commits
Author SHA1 Message Date
m3ta-chiron 74ffab146e feat: zentrales Wartungsmodus-Modul unter hosts/common (Expand, inaktiv)
Generalisiert das AZ-CLD-1-Wartungsmodus in ein shared Modul
hosts/common/extraServices/maintenance/ — Optionen global deklariert
(alle Hosts inkl. AZ-PLT-1), Konfiguration komplett hinter mkIf enable,
auf keinem Host aktiviert (Expand-Phase, CLD-1-Bestand unberührt).

- Optionen: m3ta.maintenance.services (selbstanmeldende Registry,
  attrsOf submodule), notify {url,topic}, tls (attrsOf str|listOf str,
  Default certResolver=ionos, byte-kompatibel ins Router-YAML),
  contact, extraMap; extraServices.maintenance.enable (mkEnableOption)
- CLI: Usage-Header mit echtem Hostnamen, neu status --json
  (stabiles Format v1), Registry als generiertes TSV
- www: service-map.js Build-Zeit-generiert aus Registry+extraMap,
  Kontaktzeile aus Option, index.html gemeinsam gepflegt
- Traefik-Verdrahtung wie Bestand (Service, error-pages 502-504,
  Directory-Provider watch=true, 00-base.toml per preStart)
- Assertion bei Aktivierung ohne services.traefik.enable
2026-10-03 14:57:50 +02:00
m3ta-chiron cff5600659 feat: Wartungsmodus fuer einzelne Dienste auf AZ-CLD-1
- Freundliche Wartungsseite (AZ-Branding, eingebettetes Logo, Auto-Reload,
  Dienst-Erkennung per Hostname) unter services/maintenance/www/
- nginx auf 127.0.0.1:3090 liefert die Seite mit 503 + Retry-After +
  no-store fuer alle Pfade
- Traefik: File-Provider auf ueberwachtes Verzeichnis /var/lib/traefik/dynamic
  umgestellt (staticConfigFile-Override); Basis-Konfig wird per preStart als
  00-base.toml hineingelinkt
- maintenance-CLI (on/off/status/list): schaltet pro Dienst Router mit
  Prioritaet 1000 auf den Wartungs-Service, wirksam in ~1-2 s ohne Rebuild
- Auto-Aus per transientem systemd-Timer (Default 4 h) + stuendlicher
  Expiry-Sweep als Reboot-Nachversicherung
- ntfy-Push bei on/off (opt-in via Token-Datei)
- errors-Middleware error-pages (502-504) an allen HTTP-Routern: Auch bei
  ungeplanten Ausfaellen erscheint die Wartungsseite statt Traefik-Standardfehler
2026-10-02 11:13:48 +02:00
m3ta-chiron 1772ab207e fix: pin SEMAPHORE_ACCESS_KEY_ENCRYPTION in semaphore env secret 2026-08-24 08:22:43 +02:00
m3ta-chiron 518671948c fix: public DNS for semaphore container (galaxy AAAA-only via corporate DNS) 2026-08-24 08:16:50 +02:00
m3ta-chiron a245e97136 feat: Semaphore UI on AZ-PRM-1 (AZ-NIX-4ux) 2026-08-24 06:43:28 +02:00
m3ta-chiron 6c9cb7b0e7 fix: atrocore-env ownership for atrocore-db-init (AZ-NIX-ava.2)
First deploy failed: atrocore-db-init (User=postgres) could not read
/run/agenix/atrocore-env because agenix defaults to root:root:0400.
Follow the pg-cert/pg-key precedent: owner/group postgres, mode 0400.
Podman still reads the env-file and registry token as root (root
bypasses DAC), container pull/run unaffected. Agenix applies
ownership at activation time - no rekey needed. Validated on AZ-PRM-1.
2026-08-17 14:16:09 +02:00
m3ta-chiron f1481dc256 feat: AtroPIM deployment config for AZ-PRM-1 (AZ-NIX-ava.2)
- port registry: atrocore = 3058
- oci-container atrocore: Gitea-registry image, 127.0.0.1:3058:80,
  web network, static ip 10.89.0.16, db alias to host pg, env-file
  from agenix, named volume for instance data, registry login via
  token secret
- agenix secrets: atrocore-env (ATRO_DB_*) + atrocore-registry-token,
  age-encrypted to AZ-PRM-1 + user, non-interactive creation
- host postgres 17: idempotent atrocore-db-init oneshot (psql peer,
  secret only at runtime), pg_hba 10.89.0.0/24 scram-sha-256,
  atrocore in 03:10 backup list
- traefik: pim.l.az-gruppe.com -> localhost:3058 (ionos, websecure)
2026-08-17 13:45:21 +02:00