Migrate Gitea from vlda-01 to alpha as a Docker container
First item off SYNC-PLAN.md's build order. Full migration, not sync: stopped vlda-01's Gitea container, copied its entire data volume (SQLite DB, repos, LFS, SSH host keys - ~4GB) directly via a piped ssh tar stream, brought it up on alpha as a permanent container on the same web/cloud/portainer pattern (127.0.0.1-only, Apache reverse proxy, certbot). Remapped file ownership from the source's uid 1000 (which collides with vmail on alpha) to a dedicated 1010:1010. Fixed Gitea generating http:// clone URLs by adding X-Forwarded-Proto, same fix cloud.jayfield.org already needed. Verified end-to-end: all repos present via the API, a real git clone reproduces identical history, and this repo's own origin now points at git.jayfield.org with working push access. vlda-01's copy left stopped as a cold backup, not decommissioned. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+3
-12
@@ -47,16 +47,8 @@ outright, so alpha's availability stops depending on vlda-01's.
|
||||
|
||||
### 2. Gitea → full migration, not sync
|
||||
|
||||
Just repos + a small DB — no reason to keep this tied to vlda-01's uptime.
|
||||
|
||||
- Stop the Gitea container on vlda-01, copy its data volume (repos + DB +
|
||||
config) to alpha.
|
||||
- Bring it up on alpha as a permanent container, following the exact
|
||||
pattern already used for `web`/`cloud.jayfield.org`: publish to
|
||||
`127.0.0.1:<port>` → Apache vhost (`git.jayfield.org`) → `certbot --apache`.
|
||||
- Decommission or keep vlda-01's copy as a cold backup, admin's choice.
|
||||
|
||||
**Status: not started. No open questions — ready to build when wanted.**
|
||||
**Status: done, 2026-07-26 — see `README.md`'s "Gitea" section for the live
|
||||
setup.** vlda-01's copy left stopped as a cold backup, not decommissioned.
|
||||
|
||||
### 3. Jellyfin → scoping question, not yet planned
|
||||
|
||||
@@ -102,8 +94,7 @@ financial/security stakes.
|
||||
|
||||
## Suggested build order
|
||||
|
||||
1. Gitea (no open questions, most self-contained, validates the general
|
||||
"migrate a dockerized service to alpha + Apache vhost" pattern).
|
||||
1. ~~Gitea~~ — done, see above.
|
||||
2. Files via Syncthing (validates the intermittent-sync approach before
|
||||
trusting it with anything else).
|
||||
3. Dogecoin node — **only after explicit sign-off on the wallet-split
|
||||
|
||||
Reference in New Issue
Block a user