-->
/healthz/{
"ok": true,
"checks": {
"database": {"ok": true, "detail": "ok", "latency_ms": 1.2},
"accounts_db": {"ok": true, "detail": "ok", "latency_ms": 1.1},
"redis": {"ok": true, "detail": "pong", "latency_ms": 0.7},
"migrations": {"ok": true, "detail": "up-to-date", "latency_ms": 2.3},
"accounts_migrations": {"ok": true, "detail": "up-to-date", "latency_ms": 2.1},
"encryption_key": {"ok": true, "detail": "ok", "latency_ms": -1}
}
}
SELECT 1 on the default Postgres connection.SELECT 1 on the accounts Postgres connection.ENCRYPTION_KEY is set.curl http://127.0.0.1:8000/healthz/curl -H "Host: app.tib-trader.com" http://127.0.0.1/healthz/bash scripts/shell/20_health_check.sh (also menu option 8).bash scripts/shell/15_python_compile_check.sh (menu option 10) runs python -m compileall in python:3.14-slim.scripts/shell/40_ci.sh chains manage.py check, migrations drift, tests, and docker build./healthz/ and intended for operator triage.pmcore/health.py and reference them in run_health_checks().