Files
appfactory-infrastructure/documents/06-disaster-recovery-notes.md
T
2026-06-10 13:22:52 +00:00

895 B

Disaster Recovery Notes

Portal is Source of Truth

Google -> Portal Users -> Portal Roles -> Gitea Provisioning -> Gitea

Restore Rules

Restore must NOT overwrite:

  • production domains
  • HTTPS configuration
  • OAuth configuration

Existing .env values must remain unchanged.

TLS State

Restore must preserve:

  • /opt/appfactory/data/caddy
  • /opt/appfactory/data/caddy-config

Otherwise:

  • HTTPS stops working
  • Google OAuth stops working
  • Let's Encrypt rate limits may occur

Google OAuth

Callback:

https://services.csbot.cz/portal/auth/google/callback

Gitea

Registration disabled:

DISABLE_REGISTRATION = true
ENABLE_OPENID_SIGNUP = false

Verification

curl -I https://services.csbot.cz
curl -I https://git.csbot.cz
curl -I https://registry.csbot.cz/v2/
/opt/appfactory/workspace/appfactory-tools/maintenance/preflight-check.sh