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
+8
View File
@@ -73,6 +73,14 @@ secrets from `.env`; stpvm's `.env` still has them, so keep them there until
this copy is deleted. Delete `data/`, `config/app.ini` and the old database once the LXC has run
cleanly for a few weeks (from about 2026-12-08).
Since later on 2026-11-24 the stack has no `gitea` service at all (the
forwarder is gone) and Gitea's address is `git.<DOMAIN>`, so a rollback
also needs: `GITEA_HOST=gitea` in stpvm's `.env` (the containers'
`extra_hosts` pin then becomes harmless), the `/gitea/` proxy route back in
`caddy/routes.caddy` (revert `180f6ac`), `ROOT_URL` back to
`https://<DOMAIN>/gitea/` in `config/app.ini` here, and the CI remotes,
`.runner`'s address and Renovate's endpoint back to `localhost`.
The laptop's own leftovers (an old dev `gitea/data` and `app.ini`, and a
stale `gitea-runner/.runner`) are under `dev-leftovers/` here, also
gitignored, and can simply be deleted.