Skip to content

Commit

Permalink
Updated .ddev.php file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpugh committed Sep 17, 2024
1 parent 98bea52 commit da8e770
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions web/sites/default/settings.ddev.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

/**
* @file
* This is a Drupal 10 settings.ddev.php file automatically generated by DDEV.
*
* DDEV manages this file and may delete or overwrite it unless this
* comment, marked with #ddev-generated, is removed. It is recommended
* that you leave this file alone.
* #ddev-generated: Automatically generated Drupal settings file.
* ddev manages this file and may delete or overwrite the file unless this
* comment is removed. It is recommended that you leave this file alone.
*/

$host = "db";
Expand All @@ -22,9 +20,6 @@

$settings['hash_salt'] = 'cb64a2ca99eb211b939aa913f9071234793ef9a7f0690f3b0a7c05712b9d8ec1';

// Recommended setting for Drupal 10 only
$settings['state_cache'] = TRUE;

// This will prevent Drupal from setting read-only permissions on sites/default.
$settings['skip_permissions_hardening'] = TRUE;

Expand All @@ -41,13 +36,12 @@
$settings['config_sync_directory'] = 'sites/default/files/sync';
}

// Override drupal/symfony_mailer default config to use Mailpit.
$config['symfony_mailer.settings']['default_transport'] = 'sendmail';
// Override drupal/symfony_mailer default config to use Mailpit
$config['symfony_mailer.mailer_transport.sendmail']['plugin'] = 'smtp';
$config['symfony_mailer.mailer_transport.sendmail']['configuration']['user'] = '';
$config['symfony_mailer.mailer_transport.sendmail']['configuration']['pass'] = '';
$config['symfony_mailer.mailer_transport.sendmail']['configuration']['host'] = 'localhost';
$config['symfony_mailer.mailer_transport.sendmail']['configuration']['port'] = '1025';
$config['symfony_mailer.mailer_transport.sendmail']['configuration']['user']='';
$config['symfony_mailer.mailer_transport.sendmail']['configuration']['pass']='';
$config['symfony_mailer.mailer_transport.sendmail']['configuration']['host']='localhost';
$config['symfony_mailer.mailer_transport.sendmail']['configuration']['port']='1025';

// Enable verbose logging for errors.
// https://www.drupal.org/forum/support/post-installation/2018-07-18/enable-drupal-8-backend-errorlogdebugging-mode
Expand Down

0 comments on commit da8e770

Please sign in to comment.