fix(health): env-driven infrastructure probe targets
ci / typecheck (map[dir:apps/booking name:booking]) (push) Successful in 20s
ci / typecheck (map[dir:apps/website name:website]) (push) Successful in 22s
ci / typecheck (map[dir:apps/portal name:portal]) (push) Successful in 28s
ci / typecheck (map[dir:services/platform-api name:platform-api]) (push) Successful in 22s
ci / test (push) Successful in 30s
ci / typecheck (map[dir:apps/operator name:operator]) (push) Successful in 23s
ci / build (map[dir:apps/booking name:booking]) (push) Successful in 10s
ci / build (map[dir:apps/operator name:operator]) (push) Successful in 31s
ci / build (map[dir:services/platform-api name:platform-api]) (push) Successful in 15s
ci / build (map[dir:apps/portal name:portal]) (push) Successful in 38s
ci / deploy (push) Successful in 42s

The operator infrastructure page probed docker-compose hostnames
(stalwart/postgres/redis/traefik…) which don't resolve in k3s — 7 of 9
services showed down. Probe targets now come from HEALTH_* env vars with
the compose names as dev defaults; platform-api-config.yaml sets the
in-cluster/host addresses. 'disabled' omits a service from the report —
used for OCIS/Collabora until the files tier is deployed.
This commit is contained in:
Ronni Baslund
2026-06-10 19:51:25 +02:00
parent 0840efb759
commit 94270c1f22
2 changed files with 38 additions and 11 deletions
@@ -39,3 +39,13 @@ data:
BILLING_STRIPE_ENABLED: "false"
BOOKING_PUBLIC_URL: "https://booking.dezky.eu"
MEET_PUBLIC_URL: "https://meet.dezky.eu"
# Infrastructure health-probe targets (operator → /health/platform). The
# code defaults are docker-compose hostnames; these are the k3s addresses.
# "disabled" omits a service from the report until that tier is deployed.
HEALTH_STALWART_HOSTPORT: "10.42.0.1:8080"
HEALTH_AUTHENTIK_URL: "http://authentik-server.dezky-auth.svc.cluster.local/-/health/ready/"
HEALTH_POSTGRES_HOSTPORT: "postgres.dezky-data.svc.cluster.local:5432"
HEALTH_REDIS_HOSTPORT: "redis.dezky-data.svc.cluster.local:6379"
HEALTH_TRAEFIK_HOSTPORT: "traefik.kube-system.svc.cluster.local:80"
HEALTH_OCIS_URL: "disabled"
HEALTH_COLLABORA_URL: "disabled"