Production checklist
Ops conventions for public deploy. Feature boundaries: Open-source scope. Multi-tenancy: Tenancy. Go-live checklist: SaaS checklist.
Full Chinese detail: 生产清单.
Before go-live
migratesucceeds; afterdb:seed, change defaultadminpassword- Redis up; web process + queue workers stay running
- HTTPS + reverse proxy
- Disable or lock down: Swagger, pprof, code generator
- Log disk + backup policy ready
- Start from
.env.production.example— do not shipdocker-compose.ymldefault passwords to production - Prefer
MODULE_PAYMENTS_ENABLED=falseunless you own the gateway
Health
/health— liveness/ready— readiness (DB / critical deps)
Resource ownership (admin)
- Exports: download / SSE progress / delete — owner or configured
admin.super_admin_id - Attachments: private R/W same rule; public (
is_public=1) readable by logged-in admins; mutate still owner/super - Payments: use mock for end-to-end; WeChat/Alipay query & notify verify still stub (
payment_gateway_not_implemented)
