Skip to content

Instantly share code, notes, and snippets.

@sean-e-dietrich
Created October 4, 2022 05:04
Show Gist options
  • Save sean-e-dietrich/9f9510fbaca72edcc4d727a7b2910192 to your computer and use it in GitHub Desktop.
Save sean-e-dietrich/9f9510fbaca72edcc4d727a7b2910192 to your computer and use it in GitHub Desktop.
<?php
/**
* Database configuration.
*/
$databases = array(
'default' => array(
'default' => array(
'database' => getenv('SITE_ID'),
'username' => 'root',
'password' => getenv('DB_ROOT_PASSWORD'),
'host' => getenv('DB_HOST'),
'port' => getenv('DB_PORT'),
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
'driver' => 'mysql',
'prefix' => '',
),
),
);
/**
* Trusted host configuration.
*
* See full description in default.settings.php.
*/
$settings['trusted_host_patterns'] = array(
'^.+$',
);
/**
* Skip file system permissions hardening.
*
* The system module will periodically check the permissions of your site's
* site directory to ensure that it is not writable by the website user. For
* sites that are managed with a version control system, this can cause problems
* when files in that directory such as settings.php are updated, because the
* user pulling in the changes won't have permissions to modify files in the
* directory.
*/
$settings['skip_permissions_hardening'] = TRUE;
$settings['hash_salt'] = 'changeme';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment