F-002 fix: Remove secrets and externalize config
This commit is contained in:
17
project/web/index/new/config/README.md
Normal file
17
project/web/index/new/config/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Local config setup
|
||||
|
||||
1. Copy `local.example.php` to `local.php`.
|
||||
2. Fill real local DB, OpenAI, and URL values in `local.php`.
|
||||
3. Keep `local.php` out of git.
|
||||
|
||||
Config keys used by the legacy module:
|
||||
- `db.*`
|
||||
- `openai.*`
|
||||
- `store.*`
|
||||
- `routes.*`
|
||||
- `security.form_password_hash`
|
||||
- `worker.*`
|
||||
|
||||
The module loads:
|
||||
- real local values from `config/local.php`
|
||||
- safe fallback values from `config/local.example.php`
|
||||
Reference in New Issue
Block a user