-
Notifications
You must be signed in to change notification settings - Fork 0
/
mat.settings.php
33 lines (28 loc) · 1.09 KB
/
mat.settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
// Config sync directory.
$settings['config_sync_directory'] = '../config/sync';
$settings['file_private_path'] = '../private';
// Disallow access to update.php by anonymous users.
$settings['update_free_access'] = FALSE;
$settings['rebuild_access'] = FALSE;
$settings['hash_salt'] = getenv('DRUPAL_HASH_SALT');
$settings['entity_update_batch_size'] = 50;
$settings['entity_update_backup'] = TRUE;
$settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
$settings['file_scan_ignore_directories'] = [
'node_modules',
'bower_components',
];
// Get DB connection info from env.
$databases['default']['default'] = [
'database' => getenv('MYSQL_DATABASE'),
'username' => getenv('MYSQL_USER'),
'password' => getenv('MYSQL_PASSWORD'),
'prefix' => '',
'host' => getenv('MYSQL_HOSTNAME'),
'port' => getenv('MYSQL_PORT'),
'namespace' => 'Drupal\Core\Database\Driver\mysql',
'driver' => 'mysql',
];
// Comment this out for local dev, rebuild docker.
$databases['default']['default']['pdo'] = [PDO::MYSQL_ATTR_SSL_CA => '/var/www/html/sites/default/us-east-1-bundle.pem'];