Deployment
Recommended environments:
text
local → development → staging/pilot → productionSeparate development, staging and production environments. Separate web, API, Strapi, database and Redis services in production where appropriate.
Use environment variables for secrets and never commit production credentials.
Production baseline:
- HTTPS
- Managed PostgreSQL/PostGIS
- Secret management
- Monitoring and alerting
- Automated backups
- CI validation
- Controlled database migrations
- Rollback plan
Build docs:
bash
npm run docs:build