SiteWeaver_CMS/.decisions/deployment_decisions.yaml

16 lines
968 B
YAML
Raw Permalink Normal View History

2026-09-20 05:13:41 +00:00
decisions_log:
- question: What are the deployment requirements?
decision: >
The application requires PHP 8.4+, Composer, and a web server (Apache/Nginx).
Database configuration will be handled through environment variables.
rationale: >
These requirements ensure compatibility with modern PHP features while
providing flexibility in hosting environments.
- question: How will environment-specific configuration be handled?
decision: >
In Dev environment, there will be a .env file with credentials for a locally hosted Infisical instance.
In Prod environment, the Infisical credentials will come from Nginx `fastcgi_param` parameters.
All other needed environment variables (Database credentials, maintenance setting, etc) will come from the Infisical instance
rationale: >
This approach allows for easy deployment to different environments while
keeping sensitive data out of version control.