From a4d86e98cacde9cb12f812f39a825c8ffd50eced Mon Sep 17 00:00:00 2001 From: Ashley Felton Date: Tue, 26 Nov 2024 09:36:35 +0800 Subject: [PATCH] Remove local-only config files. --- default.conf | 9 -- ports.conf | 2 - settings.php | 252 --------------------------------------------------- 3 files changed, 263 deletions(-) delete mode 100644 default.conf delete mode 100644 ports.conf delete mode 100644 settings.php diff --git a/default.conf b/default.conf deleted file mode 100644 index 68a8db2..0000000 --- a/default.conf +++ /dev/null @@ -1,9 +0,0 @@ - # The ServerName directive sets the request scheme, hostname and port that - #ServerName www.example.com - ServerAdmin webmaster@localhost - DocumentRoot /var/www/html - - #LogLevel info ssl:warn - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - diff --git a/ports.conf b/ports.conf deleted file mode 100644 index f7d3bef..0000000 --- a/ports.conf +++ /dev/null @@ -1,2 +0,0 @@ -Listen 8080 - diff --git a/settings.php b/settings.php deleted file mode 100644 index f7cdcc8..0000000 --- a/settings.php +++ /dev/null @@ -1,252 +0,0 @@ - $_ENV['DATABASE_NAME'], - 'username' => $_ENV['DATABASE_USERNAME'], - 'password' => $_ENV['DATABASE_PASSWORD'], - 'prefix' => '', - 'host' => $_ENV['DATABASE_HOST'], - 'port' => $_ENV['DATABASE_PORT'], - 'isolation_level' => 'READ COMMITTED', - 'driver' => 'mysql', - 'namespace' => 'Drupal\\mysql\\Driver\\Database\\mysql', - 'autoload' => 'core/modules/mysql/src/Driver/Database/mysql/', -); - -if ( isset($GLOBALS['request']) && '/web/index.php' === $GLOBALS['request']->server->get('SCRIPT_NAME') ) { - $GLOBALS['request']->server->set('SCRIPT_NAME', '/index.php'); -} - -$settings['class_loader_auto_detect'] = FALSE; - -/** -* Private file path -**/ -$settings['file_private_path'] = 'sites/default/files/private'; - -/** - * Cache backend configuration - */ -$settings['cache']['default'] = 'cache.backend.redis'; -$settings['redis.connection']['interface'] = 'Predis'; -$settings['redis.connection']['host'] = $_ENV['REDIS_HOST']; -$settings['redis.connection']['port'] = $_ENV['REDIS_PORT']; -/* -$settings['cache']['default'] = 'cache.backend.database'; -$settings['cache']['bins']['discovery'] = 'cache.backend.database'; -$settings['cache']['bins']['bootstrap'] = 'cache.backend.database'; -$settings['cache']['bins']['render'] = 'cache.backend.database'; -$settings['cache']['bins']['data'] = 'cache.backend.database'; -$settings['cache']['bins']['config'] = 'cache.backend.database'; -$settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.database'; - */ - -/** -* Trusted host settings -* Reference: https://www.drupal.org/docs/getting-started/installing-drupal/trusted-host-settings -**/ -$settings['trusted_host_patterns'] = [ - #'^.+\.dbca\.wa\.gov\.au$', -];