Reach Gitea as git.DOMAIN on the LAN and drop the forwarder
Test and deploy / test (push) Has been cancelled
Test and deploy / deploy (push) Has been cancelled

Everything on stpvm now reaches the Gitea LXC by its own name, GITEA_HOST
(git.DOMAIN), pinned to its LAN IP: by extra_hosts in caddy, backend, usaco
and silverbullet-git, and by /etc/hosts on the host for the runner, CI and
Renovate. Public DNS for that name is Cloudflare, which only carries HTTPS,
so the pin is what makes :3000 and :2222 work. The haproxy forwarder that
kept localhost:3000/2222 working is gone, so stpvm no longer publishes
those ports. The deploy and Renovate workflows and the runner script use
the new name; the docs and the rollback notes follow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-24 17:28:58 +00:00
co-authored by Claude Opus 5.5
parent 180f6ac8b8
commit ed87d04e04
12 changed files with 90 additions and 142 deletions
@@ -132,7 +132,7 @@
<rect class="dg-box dg-box--tint" x="480" y="414" width="180" height="56" rx="4" />
<text class="dg-title" x="570" y="434" text-anchor="middle">GITEA</text>
<text class="dg-code" x="570" y="451" text-anchor="middle">:3000 http · :2222 ssh</text>
<text class="dg-small" x="570" y="465" text-anchor="middle" style="fill: var(--color-tertiary)">both published</text>
<text class="dg-small" x="570" y="465" text-anchor="middle" style="fill: var(--color-tertiary)">on the stpgit LXC</text>
<path class="dg-edge" d="M400,437 H476" />
<text class="dg-edge-label dg-edge-label--mint" x="440" y="430" text-anchor="middle">/v2/</text>
<path class="dg-edge dg-edge--green dg-edge--both-green" d="M520,392 V410" />
@@ -245,7 +245,7 @@
<text class="dg-title dg-title--pink" x="1093" y="422" text-anchor="middle">ACT_RUNNER</text>
<text class="dg-small" x="1093" y="439" text-anchor="middle">outside Docker, host mode</text>
<text class="dg-code" x="1093" y="457" text-anchor="middle">gitea-runner/run.sh</text>
<text class="dg-small" x="1093" y="475" text-anchor="middle">polls localhost:3000,</text>
<text class="dg-small" x="1093" y="475" text-anchor="middle">polls git.DOMAIN:3000,</text>
<text class="dg-small" x="1093" y="489" text-anchor="middle">runs docker compose</text>
<path class="dg-edge dg-edge--pink" d="M1093,400 V360" />
<text class="dg-edge-label dg-edge-label--pink" x="1099" y="384">compose up</text>