Reach Gitea as git.DOMAIN on the LAN and drop the forwarder
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:
@@ -38,9 +38,10 @@ POSTGRES_TRACKER_USER=tracker
|
||||
POSTGRES_TRACKER_PASSWORD=dev-tracker-password
|
||||
|
||||
# --- Gitea -------------------------------------------------------------------
|
||||
# Dev has no Gitea: the forwarder points at a TEST-NET address that never
|
||||
# answers, so /gitea/ is a 502 and the home page's git feed is empty.
|
||||
GITEA_HOST=gitea
|
||||
# Dev has no Gitea: GITEA_HOST is pinned to a TEST-NET address that never
|
||||
# answers, so the home page's git feed is empty (and /gitea/ redirects to
|
||||
# git.localhost, which goes nowhere).
|
||||
GITEA_HOST=git.localhost
|
||||
GITEA_PORT=3000
|
||||
GITEA_UPSTREAM=192.0.2.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user