Add a cloudflared connector for git.DOMAIN on the Gitea LXC
Test and deploy / test (push) Successful in 21s
Test and deploy / deploy (push) Successful in 2s

Gitea gets its own remotely managed Cloudflare tunnel, run beside it on the
LXC, so public HTTPS for git.DOMAIN no longer has to pass through stpvm. It is
a separate tunnel from the site's, since a tunnel's connectors share all its
hostnames. It sits behind the `tunnel` profile until git.DOMAIN is the
canonical address, so a routine `docker compose up -d` does not publish it
early.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-24 16:33:42 +00:00
co-authored by Claude Opus 5.5
parent 31b84b06d4
commit fc777ba8b2
2 changed files with 31 additions and 0 deletions
+5
View File
@@ -28,3 +28,8 @@ GITEA_SSH_DOMAIN=
# file's extra_hosts).
DOMAIN=
EDGE_IP=
# Token of Gitea's own Cloudflare tunnel (NOT the site's CLOUDFLARE_TUNNEL_TOKEN),
# from Zero Trust -> Networks -> Tunnels -> the stpgit tunnel. Used by the
# cloudflared service (profile `tunnel`), which serves https://git.DOMAIN.
GITEA_TUNNEL_TOKEN=