1
0

Change development database name

This commit is contained in:
PA4KEV 2023-03-02 08:45:48 +01:00
parent 9734d97190
commit d2db2df7d7
2 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) {
// getenv('MYSQL_USER')
$databases['default']['default'] = [
'database' => 'mydb',
'database' => 'drupal',
'driver' => 'mysql',
'host' => 'db',
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',

View File

@ -5,7 +5,7 @@ services:
build: ./config/database
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_DATABASE=mydb
- MYSQL_DATABASE=drupal
ports:
- "33066:3306"
volumes:
@ -19,7 +19,7 @@ services:
- db
build: ./cms/drupal
environment:
- MYSQL_DATABASE="mydb"
- MYSQL_DATABASE="drupal"
- MYSQL_HOSTNAME="db"
- MYSQL_PASSWORD="password"
- MYSQL_PORT=33066