drevops / vortex

🌀 Drupal project template
https://vortex.drevops.com
GNU General Public License v3.0
82 stars 19 forks source link

Allow to configure site configuration location via environment variable #1328

Closed richardgaunt closed 4 months ago

richardgaunt commented 4 months ago

Currently, config_sync_directory is hardcoded into settings.php.

For testing installations from profile and module configuration it is handy to be able to change the configuration directory.

Propose adding a DRUPAL_CONFIG_DIRECTORY variable to provide overrideable settings at: https://github.com/drevops/scaffold/blob/develop/web/sites/default/settings.php#L61

AlexSkrypnyk commented 4 months ago

DRUPAL_CONFIG_PATH