Move Gitea to its own LXC; keep a forwarder on stpvm
Gitea (git, Actions, the registry) now runs from gitea/docker-compose.yml on a separate Proxmox LXC with its own Postgres, deployed by hand. The stack's gitea service becomes an haproxy TCP forwarder from stpvm's 3000 and 2222 to the LXC (GITEA_UPSTREAM), under the same container name, so Caddy, the backend feed, usaco, the runner, Renovate and every repo's CI keep their addresses. Webhooks from the LXC reach Caddy over the LAN. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -111,7 +111,9 @@ check-compose:
|
||||
echo "docker compose -f docker-compose.yml config -q"; \
|
||||
docker compose --project-directory "$$pd" -f docker-compose.yml config -q; \
|
||||
echo "docker compose -f docker-compose.yml -f docker-compose.dev.yml config -q"; \
|
||||
docker compose --project-directory "$$pd" -f docker-compose.yml -f docker-compose.dev.yml config -q
|
||||
docker compose --project-directory "$$pd" -f docker-compose.yml -f docker-compose.dev.yml config -q; \
|
||||
echo "docker compose -f gitea/docker-compose.yml config -q (the Gitea LXC, against gitea/.env.example)"; \
|
||||
docker compose -f gitea/docker-compose.yml --env-file gitea/.env.example config -q
|
||||
|
||||
# The edge config is validated by the image build itself (the last RUN in
|
||||
# caddy/Dockerfile runs `caddy validate` for the production and dev sites), so
|
||||
|
||||
Reference in New Issue
Block a user