Files
stack/infra/nginx/index.html
kert 1f85cfc833 fix(infra): drop the reach host and serve releases from lead
reach.fhirworx.io duplicated the lead explorer. The name is gone from
Traefik, nginx, CoreDNS, and the SSO list. Release bags publish at
lead.fhirworx.io/releases.
2026-11-14 13:09:50 -05:00

329 lines
22 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fhirworx — Data Infrastructure</title>
<link rel="icon" type="image/png" sizes="32x32" href="/fav32.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- Cloudflare keeps /dashboard.css at the edge for hours, so the link
carries a version: the first 8 hex of the stylesheet's md5. Change it
with every edit to dashboard.css so the page and its CSS arrive together. -->
<link rel="stylesheet" href="/dashboard.css?v=c6219441">
<!-- dashboard is "theme" false in infra/traefik/dynamic/services.yml:
the inject-fhirworx overlay (fhirworx.css for third-party UIs) is not
applied here, so dashboard.css alone styles this page. -->
</head>
<body>
<!-- Tile glyphs: Tabler Icons 3.41.0 outline (MIT), the set the marimo
theme overlay already uses; database-search and link come from the
3.49.0 outline set, scale is the lex page's own glyph. Stroke and size
come from dashboard.css. -->
<svg class="sprite" aria-hidden="true" focusable="false">
<symbol id="i-activity-heartbeat" viewBox="0 0 24 24"><path d="M3 12h4.5l1.5 -6l4 12l2 -9l1.5 3h4.5" /></symbol>
<symbol id="i-api" viewBox="0 0 24 24"><path d="M4 13h5" /><path d="M12 16v-8h3a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-3" /><path d="M20 8v8" /><path d="M9 16v-5.5a2.5 2.5 0 0 0 -5 0v5.5" /></symbol>
<symbol id="i-books" viewBox="0 0 24 24"><path d="M5 5a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1l0 -14" /><path d="M9 5a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1l0 -14" /><path d="M5 8h4" /><path d="M9 16h4" /><path d="M13.803 4.56l2.184 -.53c.562 -.135 1.133 .19 1.282 .732l3.695 13.418a1.02 1.02 0 0 1 -.634 1.219l-.133 .041l-2.184 .53c-.562 .135 -1.133 -.19 -1.282 -.732l-3.695 -13.418a1.02 1.02 0 0 1 .634 -1.219l.133 -.041" /><path d="M14 9l4 -1" /><path d="M16 16l3.923 -.98" /></symbol>
<symbol id="i-chart-area-line" viewBox="0 0 24 24"><path d="M4 19l4 -6l4 2l4 -5l4 4l0 5l-16 0" /><path d="M4 12l3 -4l4 2l5 -6l4 4" /></symbol>
<symbol id="i-database-search" viewBox="0 0 24 24"><path d="M4 6c0 1.657 3.582 3 8 3s8 -1.343 8 -3s-3.582 -3 -8 -3s-8 1.343 -8 3" /><path d="M4 6v6c0 1.657 3.582 3 8 3m8 -3.5v-5.5" /><path d="M4 12v6c0 1.657 3.582 3 8 3" /><path d="M15 18a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" /><path d="M20.2 20.2l1.8 1.8" /></symbol>
<symbol id="i-file-invoice" viewBox="0 0 24 24"><path d="M14 3v4a1 1 0 0 0 1 1h4" /><path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2" /><path d="M9 7l1 0" /><path d="M9 13l6 0" /><path d="M13 17l2 0" /></symbol>
<symbol id="i-file-text" viewBox="0 0 24 24"><path d="M14 3v4a1 1 0 0 0 1 1h4" /><path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2" /><path d="M9 9l1 0" /><path d="M9 13l6 0" /><path d="M9 17l6 0" /></symbol>
<symbol id="i-git-branch" viewBox="0 0 24 24"><path d="M5 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M5 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M15 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M7 8l0 8" /><path d="M9 18h6a2 2 0 0 0 2 -2v-5" /><path d="M14 14l3 -3l3 3" /></symbol>
<symbol id="i-link" viewBox="0 0 24 24"><path d="M9 15l6 -6" /><path d="M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464" /><path d="M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463" /></symbol>
<symbol id="i-list-details" viewBox="0 0 24 24"><path d="M13 5h8" /><path d="M13 9h5" /><path d="M13 15h8" /><path d="M13 19h5" /><path d="M3 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4" /><path d="M3 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4" /></symbol>
<symbol id="i-messages" viewBox="0 0 24 24"><path d="M21 14l-3 -3h-7a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1h9a1 1 0 0 1 1 1v10" /><path d="M14 15v2a1 1 0 0 1 -1 1h-7l-3 3v-10a1 1 0 0 1 1 -1h2" /></symbol>
<symbol id="i-north-star" viewBox="0 0 24 24"><path d="M3 12h18" /><path d="M12 21v-18" /><path d="M7.5 7.5l9 9" /><path d="M7.5 16.5l9 -9" /></symbol>
<symbol id="i-notebook" viewBox="0 0 24 24"><path d="M6 4h11a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-11a1 1 0 0 1 -1 -1v-14a1 1 0 0 1 1 -1m3 0v18" /><path d="M13 8l2 0" /><path d="M13 12l2 0" /></symbol>
<symbol id="i-route" viewBox="0 0 24 24"><path d="M3 19a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M19 7a2 2 0 1 0 0 -4a2 2 0 0 0 0 4" /><path d="M11 19h5.5a3.5 3.5 0 0 0 0 -7h-8a3.5 3.5 0 0 1 0 -7h4.5" /></symbol>
<symbol id="i-scale" viewBox="0 0 24 24"><path d="M7 20l10 0" /><path d="M6 6l6 -1l6 1" /><path d="M12 3l0 17" /><path d="M9 12l-3 -6l-3 6a3 3 0 0 0 6 0" /><path d="M21 12l-3 -6l-3 6a3 3 0 0 0 6 0" /></symbol>
<symbol id="i-server-2" viewBox="0 0 24 24"><path d="M3 7a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-2" /><path d="M3 15a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3l0 -2" /><path d="M7 8l0 .01" /><path d="M7 16l0 .01" /><path d="M11 8h6" /><path d="M11 16h6" /></symbol>
<symbol id="i-sql" viewBox="0 0 24 24"><path d="M12 8a2 2 0 0 1 2 2v4a2 2 0 1 1 -4 0v-4a2 2 0 0 1 2 -2" /><path d="M17 8v8h4" /><path d="M13 15l1 1" /><path d="M3 15a1 1 0 0 0 1 1h2a1 1 0 0 0 1 -1v-2a1 1 0 0 0 -1 -1h-2a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1" /></symbol>
<symbol id="i-timeline" viewBox="0 0 24 24"><path d="M4 16l6 -7l5 5l5 -6" /><path d="M14 14a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M9 9a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M3 16a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M19 8a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /></symbol>
<symbol id="i-versions" viewBox="0 0 24 24"><path d="M10 7a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2l0 -10" /><path d="M7 7l0 10" /><path d="M4 8l0 8" /></symbol>
</svg>
<div class="container">
<div class="masthead">
<div class="rule-line"></div>
<div class="masthead-row">
<h1>Fhirworx</h1>
<span class="masthead-eyebrow">dashboard.fhirworx.io</span>
</div>
<p class="tagline">
A self-hosted data lakehouse for FHIR analytics — version-controlled storage,
distributed SQL, and end-to-end observability in a single stack.
</p>
<div class="rule-line-thin"></div>
</div>
<main class="services" data-health-origin="">
<section class="section" aria-labelledby="sec-apps">
<div class="section-header">
<span class="section-eyebrow">Analysis &amp; research</span>
<h2 id="sec-apps">Apps</h2>
</div>
<div class="grid">
<a data-subdomain="llm" target="_blank" class="tile notebook">
<span class="badge gpu">GPU</span>
<span class="icon" aria-hidden="true"><svg><use href="#i-messages"/></svg></span>
<div class="tile-eyebrow">Chat</div>
<div class="tile-title">Comment Chat</div>
<p class="tile-desc">RAG chat over indexed CMS rulemaking comments, with cited sources</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="bcda" target="_blank" class="tile notebook">
<span class="icon" aria-hidden="true"><svg><use href="#i-file-invoice"/></svg></span>
<div class="tile-eyebrow">Claims</div>
<div class="tile-title">BCDA Manager</div>
<p class="tile-desc">Beneficiary Claims Data API v3 — exports, store, load, crosswalk</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="lead" target="_blank" class="tile notebook">
<span class="icon" aria-hidden="true"><svg><use href="#i-database-search"/></svg></span>
<div class="tile-eyebrow">LEAD</div>
<div class="tile-title">Public-data explorer</div>
<p class="tile-desc">Write-up, tables, series and SQL over the read-only public-data DuckDB mirror. /releases serves the living-review bags</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="lex" target="_blank" class="tile notebook">
<span class="icon" aria-hidden="true"><svg><use href="#i-scale"/></svg></span>
<div class="tile-eyebrow">LEX</div>
<div class="tile-title">Code-family dossiers</div>
<p class="tile-desc">Legal-epidemiology workbench for CMS payment and quality rules</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="notebooks" target="_blank" class="tile notebook">
<span class="badge gpu">GPU</span>
<span class="icon" aria-hidden="true"><svg><use href="#i-notebook"/></svg></span>
<div class="tile-eyebrow">Analysis</div>
<div class="tile-title">Notebooks</div>
<p class="tile-desc">Marimo reactive notebooks with CUDA acceleration</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="zotero" target="_blank" class="tile research">
<span class="badge gpu">GPU</span>
<span class="icon" aria-hidden="true"><svg><use href="#i-books"/></svg></span>
<div class="tile-eyebrow">Research</div>
<div class="tile-title">Zotero</div>
<p class="tile-desc">Research reference manager in the cloud</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="docs" target="_blank" class="tile research">
<span class="icon" aria-hidden="true"><svg><use href="#i-file-text"/></svg></span>
<div class="tile-eyebrow">Documentation</div>
<div class="tile-title">Docs</div>
<p class="tile-desc">API reference and CMS bibliography browser</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
</div>
</section>
<section class="section" aria-labelledby="sec-data">
<div class="section-header">
<span class="section-eyebrow">Lakehouse</span>
<h2 id="sec-data">Data platform</h2>
</div>
<div class="grid">
<a data-subdomain="s3console" target="_blank" class="tile storage">
<span class="icon" aria-hidden="true"><svg><use href="#i-server-2"/></svg></span>
<div class="tile-eyebrow">Storage</div>
<div class="tile-title">RustFS</div>
<p class="tile-desc">S3-compatible object storage for all your data needs</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="nessie" target="_blank" class="tile catalog">
<span class="badge data">Data</span>
<span class="icon" aria-hidden="true"><svg><use href="#i-versions"/></svg></span>
<div class="tile-eyebrow">Catalog</div>
<div class="tile-title">Nessie</div>
<p class="tile-desc">Git-like versioned data catalog for Apache Iceberg</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="polaris" target="_blank" class="tile catalog">
<span class="icon" aria-hidden="true"><svg><use href="#i-north-star"/></svg></span>
<div class="tile-eyebrow">Catalog</div>
<div class="tile-title">Polaris</div>
<p class="tile-desc">Apache Iceberg catalog with governance and Unity-style access control</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="trino" target="_blank" class="tile query">
<span class="badge data">Data</span>
<span class="icon" aria-hidden="true"><svg><use href="#i-sql"/></svg></span>
<div class="tile-eyebrow">Query</div>
<div class="tile-title">Trino</div>
<p class="tile-desc">Distributed SQL query engine for the lakehouse</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
</div>
</section>
<section class="section" aria-labelledby="sec-obs">
<div class="section-header">
<span class="section-eyebrow">Metrics · logs · traces</span>
<h2 id="sec-obs">Observability</h2>
</div>
<div class="grid">
<a data-subdomain="grafana" target="_blank" class="tile observability">
<span class="icon" aria-hidden="true"><svg><use href="#i-chart-area-line"/></svg></span>
<div class="tile-eyebrow">Dashboards</div>
<div class="tile-title">Grafana</div>
<p class="tile-desc">Observability dashboards for metrics, logs, and traces</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="prometheus" target="_blank" class="tile logs">
<span class="icon" aria-hidden="true"><svg><use href="#i-activity-heartbeat"/></svg></span>
<div class="tile-eyebrow">Metrics</div>
<div class="tile-title">Prometheus</div>
<p class="tile-desc">Metrics collection and alerting</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="loki" target="_blank" class="tile database">
<span class="icon" aria-hidden="true"><svg><use href="#i-list-details"/></svg></span>
<div class="tile-eyebrow">Logs</div>
<div class="tile-title">Loki</div>
<p class="tile-desc">Log aggregation system by Grafana</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="tempo" target="_blank" class="tile metrics">
<span class="icon" aria-hidden="true"><svg><use href="#i-timeline"/></svg></span>
<div class="tile-eyebrow">Tracing</div>
<div class="tile-title">Tempo</div>
<p class="tile-desc">Distributed tracing for microservices</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
</div>
</section>
<section class="section" aria-labelledby="sec-infra">
<div class="section-header">
<span class="section-eyebrow">Edge · source · API</span>
<h2 id="sec-infra">Infrastructure</h2>
</div>
<div class="grid">
<a data-subdomain="traefik" target="_blank" class="tile proxy">
<span class="icon" aria-hidden="true"><svg><use href="#i-route"/></svg></span>
<div class="tile-eyebrow">Networking</div>
<div class="tile-title">Traefik</div>
<p class="tile-desc">Cloud-native reverse proxy and load balancer with automatic TLS</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="git" target="_blank" class="tile git">
<span class="icon" aria-hidden="true"><svg><use href="#i-git-branch"/></svg></span>
<div class="tile-eyebrow">Version Control</div>
<div class="tile-title">Gitea</div>
<p class="tile-desc">Self-hosted Git service with packages and CI</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
<a data-subdomain="api" target="_blank" class="tile proxy">
<span class="icon" aria-hidden="true"><svg><use href="#i-api"/></svg></span>
<div class="tile-eyebrow">API</div>
<div class="tile-title">Platform API</div>
<p class="tile-desc">FastAPI platform backend</p>
<span class="health health-unknown"><span class="health-k">health</span><span class="health-v">checking</span></span>
<span class="tile-port"></span>
<div class="stripe"></div>
</a>
</div>
</section>
</main>
<footer>
<span>fhirworx.io</span> &mdash; self-hosted data lakehouse &mdash; &copy; <time class="footer-year">2026</time>
</footer>
</div>
<script>
function paintHealth(el, origin, sub, fqdn) {
var box = el.querySelector('.health');
if (!box) return;
var value = box.querySelector('.health-v');
function paint(kind, text) {
box.className = 'health health-' + kind;
value.textContent = text;
}
fetch(origin + '/healthz/' + sub, {cache: 'no-store'}).then(function (r) {
if (r.status === 503) paint('warn', 'not ready');
else if (r.ok) paint('ok', 'up');
else paint('bad', 'down');
}, function () {
paint('bad', 'down');
});
}
(function() {
var root = document.querySelector('[data-health-origin]');
var origin = root ? (root.getAttribute('data-health-origin') || '') : '';
var base = location.hostname.replace(/^dashboard\./, '');
document.querySelectorAll('[data-subdomain]').forEach(function(el) {
var sub = el.dataset.subdomain;
var fqdn = sub + '.' + base;
el.href = 'https://' + fqdn + '/';
var port = el.querySelector('.tile-port');
if (port) port.textContent = fqdn;
paintHealth(el, origin, sub, fqdn);
});
var year = document.querySelector('.footer-year');
if (year) {
var y = String(new Date().getFullYear());
year.textContent = y;
year.setAttribute('datetime', y);
}
})();
</script>
</body>
</html>