updated drupal settings files, and readme about salt.txt
This commit is contained in:
@@ -256,7 +256,8 @@ $databases = [];
|
||||
* variable has the same value on each server.
|
||||
*
|
||||
* For enhanced security, you may set this variable to the contents of a file
|
||||
* outside your document root; you should also ensure that this file is not
|
||||
* outside your document root, and vary the value across environments (like
|
||||
* production and development); you should also ensure that this file is not
|
||||
* stored with backups of your database.
|
||||
*
|
||||
* Example:
|
||||
@@ -264,7 +265,7 @@ $databases = [];
|
||||
* $settings['hash_salt'] = file_get_contents('/home/example/salt.txt');
|
||||
* @endcode
|
||||
*/
|
||||
$settings['hash_salt'] = 'ie6IPbhGUdzsDc_YShwBE7KG6hPAu_bSyPv9w9D0Y8uXiCDD4ZDjw1mDqAyDMotzwnyRpZRv0g';
|
||||
$settings['hash_salt'] = file_get_contents($app_root . '/' . $site_path . '/salt.txt');
|
||||
|
||||
/**
|
||||
* Deployment identifier.
|
||||
@@ -486,6 +487,15 @@ $settings['update_free_access'] = FALSE;
|
||||
# $settings['file_chmod_directory'] = 0775;
|
||||
# $settings['file_chmod_file'] = 0664;
|
||||
|
||||
/**
|
||||
* Optimized assets path:
|
||||
*
|
||||
* A local file system path where optimized assets will be stored. This directory
|
||||
* must exist and be writable by Drupal. This directory must be relative to
|
||||
* the Drupal installation directory and be accessible over the web.
|
||||
*/
|
||||
# $settings['file_assets_path'] = 'sites/default/files';
|
||||
|
||||
/**
|
||||
* Public file base URL:
|
||||
*
|
||||
@@ -550,6 +560,23 @@ $settings['update_free_access'] = FALSE;
|
||||
*/
|
||||
# $settings['file_sa_core_2023_005_schemes'] = ['porcelain'];
|
||||
|
||||
/**
|
||||
* Configuration for phpinfo() admin status report.
|
||||
*
|
||||
* Drupal's admin UI includes a report at admin/reports/status/php which shows
|
||||
* the output of phpinfo(). The full output can contain sensitive information
|
||||
* so by default Drupal removes some sections.
|
||||
*
|
||||
* This behaviour can be configured by setting this variable to a different
|
||||
* value corresponding to the flags parameter of phpinfo().
|
||||
*
|
||||
* If you need to expose more information in the report - for example to debug a
|
||||
* problem - consider doing so temporarily.
|
||||
*
|
||||
* @see https://www.php.net/manual/function.phpinfo.php
|
||||
*/
|
||||
# $settings['sa_core_2023_004_phpinfo_flags'] = ~ (INFO_VARIABLES | INFO_ENVIRONMENT);
|
||||
|
||||
/**
|
||||
* Private file path:
|
||||
*
|
||||
@@ -599,7 +626,7 @@ $settings['update_free_access'] = FALSE;
|
||||
* any added language. (eg locale_custom_strings_de for german).
|
||||
*/
|
||||
# $settings['locale_custom_strings_en'][''] = [
|
||||
# 'forum' => 'Discussion board',
|
||||
# 'Home' => 'Front page',
|
||||
# '@count min' => '@count minutes',
|
||||
# ];
|
||||
|
||||
@@ -724,6 +751,7 @@ $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
|
||||
*
|
||||
* @see https://www.drupal.org/docs/installing-drupal/trusted-host-settings
|
||||
*/
|
||||
# $settings['trusted_host_patterns'] = [];
|
||||
|
||||
/**
|
||||
* The default list of directories that will be ignored by Drupal's file API.
|
||||
@@ -815,6 +843,31 @@ $settings['migrate_node_migrate_type_classic'] = FALSE;
|
||||
# $settings['migrate_file_public_path'] = '';
|
||||
# $settings['migrate_file_private_path'] = '';
|
||||
|
||||
|
||||
$databases['default']['default'] = array (
|
||||
'database' => 'reha',
|
||||
'username' => 'root',
|
||||
'password' => 'reha',
|
||||
'prefix' => '',
|
||||
'host' => 'mysql',
|
||||
'port' => '3306',
|
||||
'isolation_level' => 'READ COMMITTED',
|
||||
'namespace' => 'Drupal\\mysql\\Driver\\Database\\mysql',
|
||||
'driver' => 'mysql',
|
||||
'autoload' => 'core/modules/mysql/src/Driver/Database/mysql/',
|
||||
);
|
||||
|
||||
// $settings['config_sync_directory'] = 'sites/default/files/config_5PHkm650Kborp3jyACwlzlrRvkGMk6irq60CtDxNvV3soZZxwuAG_w6rbFkNr-hdH1zlZT00ZA/sync';
|
||||
$settings['config_sync_directory'] = '../config/sync';
|
||||
|
||||
$settings['redis.connection']['interface'] = 'PhpRedis';
|
||||
$settings['redis.connection']['host'] = 'redis';
|
||||
#$conf['redis_cache_socket'] = '/var/run/redis/redis.sock';
|
||||
$settings['cache']['default'] = 'cache.backend.redis';
|
||||
$settings['redis.connection']['base'] = '1';
|
||||
$settings['cache_prefix'] = 'd10';
|
||||
|
||||
|
||||
/**
|
||||
* Load local development override configuration, if available.
|
||||
*
|
||||
@@ -833,26 +886,3 @@ if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) {
|
||||
include $app_root . '/' . $site_path . '/settings.local.php';
|
||||
}
|
||||
|
||||
|
||||
$databases['default']['default'] = array (
|
||||
'database' => 'rorschach',
|
||||
'username' => 'rorschach',
|
||||
'password' => 'rorschach',
|
||||
'prefix' => '',
|
||||
'host' => 'mysql',
|
||||
'port' => '3306',
|
||||
'namespace' => 'Drupal\\mysql\\Driver\\Database\\mysql',
|
||||
'driver' => 'mysql',
|
||||
'autoload' => 'core/modules/mysql/src/Driver/Database/mysql/',
|
||||
);
|
||||
|
||||
|
||||
$settings['config_sync_directory'] = '../config/sync';
|
||||
|
||||
|
||||
$settings['redis.connection']['interface'] = 'PhpRedis';
|
||||
$settings['redis.connection']['host'] = 'redis';
|
||||
#$conf['redis_cache_socket'] = '/var/run/redis/redis.sock';
|
||||
$settings['cache']['default'] = 'cache.backend.redis';
|
||||
$settings['redis.connection']['base'] = '1';
|
||||
$settings['cache_prefix'] = 'd9';
|
||||
|
||||
Reference in New Issue
Block a user