Move gitea/ to its own repo, adamf/stpgit
Test and deploy / test (push) Successful in 21s
Test and deploy / deploy (push) Successful in 13s

The Gitea LXC's compose file, entrypoint, app.ini template and env example
now live in adamf/stpgit, which the LXC checks out instead of this repo.
What stays here is stpvm's side: the haproxy forwarder, renamed to
gitea-forwarder/haproxy.cfg, and a copy of the entrypoint in
.deprecated/gitea/ so the stpvm rollback does not depend on the new repo.
Renovate now also covers adamf/stpgit, and the docs point there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-24 16:52:55 +00:00
co-authored by Claude Opus 5.5
parent fc777ba8b2
commit bb83c6bb03
15 changed files with 41 additions and 374 deletions
+4 -4
View File
@@ -303,7 +303,7 @@ services:
# and activity trackers' databases. The postgres image only creates
# POSTGRES_DB on first init; the others are created by hand (see their
# READMEs). Gitea's database is not here any more: it has its own Postgres
# in the Gitea LXC (gitea/docker-compose.yml).
# in the Gitea LXC (the adamf/stpgit repo).
# Schema for the app DB comes from GORM auto-migration at backend start —
# there are no migration files.
db:
@@ -837,8 +837,8 @@ services:
- ./garage/garage.toml:/etc/garage.toml:ro
# Gitea's ports on this host, forwarded to Gitea itself, which runs in its
# own LXC (gitea/docker-compose.yml; DEPLOYMENT.md §7, "Gitea LXC"). A
# plain TCP forwarder (gitea/forwarder.cfg), kept under the old service and
# own LXC (the adamf/stpgit repo; DEPLOYMENT.md §7, "Gitea LXC"). A
# plain TCP forwarder (gitea-forwarder/haproxy.cfg), kept under the old service and
# container name so nothing that talked to Gitea here had to change:
# Caddy's /gitea/ and /v2/ upstream and the backend's feed (GITEA_HOST,
# GITEA_PORT), usaco's pulls, and on the host the runner and Renovate
@@ -862,7 +862,7 @@ services:
environment:
- GITEA_UPSTREAM=${GITEA_UPSTREAM:?set GITEA_UPSTREAM in .env to the Gitea LXC's LAN IP}
volumes:
- ./gitea/forwarder.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
- ./gitea-forwarder/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
ports:
# 2222 = Gitea's built-in SSH server; clones use ssh://git@host:2222/...
# — including the deploy workflow, which fetches from