Deeman
|
5218717e8d
|
refactor(infra): converge on setup+bootstrap pattern, fix systemd copy bug
- setup_server.sh: full rewrite to match materia/template pattern — adds Docker
install, git/curl/ca-certificates apt install, age + sops install (arch-aware),
uv install as service user, age keypair generation, SSH config write (root+chown);
removes systemd unit copy (was buggy: copied before repo was cloned)
- NEW bootstrap_supervisor.sh: ~45 lines — age key check, clone/fetch, tag checkout,
sops decrypt, uv sync, copy landing-backup + supervisor systemd units, enable + start
- deploy.sh: replace 53-line self-install preamble (sops/age install + keypair
generation + exit-1 flow) with simple sops check + decrypt; Docker blue/green
logic unchanged
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-02-27 06:57:00 +01:00 |
|