2.4 KiB
2.4 KiB
Public Launch Checklist
A) Infrastructure Baseline
- Domain DNS points to public IP.
- Router forwards only
80and443. - Host firewall denies all inbound except
80/443and restricted22. SSH_ALLOW_CIDRpolicy validated.- Postgres port
5432is not public.
B) App and Deployment
- SSH deployment host is prepared (
/opt/fiddy, Docker Engine, Compose plugin). - Deploy host runtime env is configured in
/opt/fiddy/.env:DATABASE_URLDATABASE_SSLALLOWED_DB_NAMESSESSION_COOKIE_NAMESESSION_TTL_DAYSDEBUG_API
- Gitea Actions secrets configured:
REGISTRY_USERREGISTRY_PASSDEPLOY_KEYDEPLOY_HOSTDEPLOY_USERDEPLOY_HEALTHCHECK_URL
- Deploy workflow passes build/test/push/deploy.
- Deploy guard confirms
webandschedulerare running. - Post-deploy health gate passes (
scripts/wait-for-health.sh). - Manual smoke passes (
scripts/smoke-public-launch.sh).
C) Security Controls
- Existing Nginx TLS/headers/rate limits enabled (using
docker/nginx/fiddy.conftemplate). - If using NPM,
docs/08_NGINX_PROXY_MANAGER_SETUP.mdcompleted. - If using NPM, Custom Location
/includes header/request-id snippet. - Request-id propagation enabled (
X-Request-Idin responses). - Server-side rate limits active (auth/write/ip limiters).
- Fail2ban or CrowdSec configured from
docker/security/. - No secrets/full invite codes in logs.
D) Observability
- Loki, Promtail, Grafana, Uptime Kuma running.
- Promtail ingests
job="nginx". - Dashboards show request IDs for incident triage.
- Alerts configured for 5xx/auth spikes/DB failures/resource pressure.
E) Backup and Recovery
- Daily logical backup scheduled (
scripts/backup-postgres.sh). - Periodic base backup scheduled (
scripts/basebackup-postgres.sh). - Latest restore drill succeeded (
scripts/restore-drill-postgres.sh). - Drill logged (
scripts/log-restore-drill.sh->docs/restore-drill-log.csv). - Measured RTO is acceptable.
F) Rollback Readiness
- Previous stable image tags retained in registry (for rollback).
- Rollback runbook tested once in staging or low-risk window (SSH Compose deploy by older image tag).
- Rollback smoke check verified.