Skip to content

Instantly share code, notes, and snippets.

@welly
Created December 13, 2017 12:26
Show Gist options
  • Save welly/e280d3fe71c186b765da2442efbd8518 to your computer and use it in GitHub Desktop.
Save welly/e280d3fe71c186b765da2442efbd8518 to your computer and use it in GitHub Desktop.
Local developer settings.php for Drupal 8
<?php
$databases['default']['default'] = array (
'database' => 'drupal',
'username' => 'drupal',
'password' => 'drupal',
'host' => 'mariadb',
'port' => '3306',
'driver' => 'mysql',
'prefix' => '',
'collation' => 'utf8mb4_general_ci',
);
$config['config_split.config_split.sync_local']['status'] = TRUE;
$config['system.performance']['css']['preprocess'] = FALSE;
$config['system.performance']['js']['preprocess'] = FALSE;
$settings['cache']['bins']['render'] = 'cache.backend.null';
$settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/default/local.services.yml';
$settings['hash_salt'] = '_?hdz5%]!:<SIaE!{74=hr:F= 7]!}[[LLAfZO-7*a<MloDjP+E^z-|.D`&X4A5G';
$settings['rebuild_access'] = TRUE;
$settings['skip_permissions_hardening'] = TRUE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment