Skip to content

Instantly share code, notes, and snippets.

@miura
Last active October 26, 2021 07:19
Show Gist options
  • Save miura/ec3fc9ff7c2338a7094449a1c761c516 to your computer and use it in GitHub Desktop.
Save miura/ec3fc9ff7c2338a7094449a1c761c516 to your computer and use it in GitHub Desktop.
template settings local file for bise.
<?php
/** database settings
**/
//$databases['default']['default'] = [
// 'database' => getenv('MYSQL_DATABASE'),
// 'driver' => 'mysql',
// 'host' => getenv('MYSQL_HOSTNAME'),
// 'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
// 'password' => getenv('MYSQL_PASSWORD'),
// 'port' => getenv('MYSQL_PORT'),
// 'prefix' => '',
// 'username' => getenv('MYSQL_USER'),
//];
$databases['default']['default'] = array (
'database' => 'drupal8',
'username' => 'drupal8',
'password' => 'drupal8',
'prefix' => '',
'host' => 'database',
'port' => '3306',
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
'driver' => 'mysql',
);
$settings['trusted_host_patterns'] = [
'^www\.biii\.eu$',
'^biii\.eu$',
'^test\.biii\.eu$',
'^localhost$',
'bisescratch\.lndo\.site',
];
/**
* features from default settings.local.php
* */
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/development.services.yml';
$config['system.logging']['error_level'] = 'verbose';
$config['system.performance']['css']['preprocess'] = FALSE;
$config['system.performance']['js']['preprocess'] = FALSE;
// for module devl
$settings['cache']['bins']['render'] = 'cache.backend.null';
$settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
$settings['skip_permissions_hardening'] = TRUE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment