github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/pkg/ddevapp/typo3/AdditionalConfiguration.php (about) 1 <?php 2 3 /** 4 * #ddev-generated: Automatically generated TYPO3 AdditionalConfiguration.php file. 5 * ddev manages this file and may delete or overwrite the file unless this comment is removed. 6 * It is recommended that you leave this file alone. 7 */ 8 9 if (getenv('IS_DDEV_PROJECT') == 'true') { 10 $GLOBALS['TYPO3_CONF_VARS'] = array_replace_recursive( 11 $GLOBALS['TYPO3_CONF_VARS'], 12 [ 13 'DB' => [ 14 'Connections' => [ 15 'Default' => [ 16 'dbname' => 'db', 17 'driver' => '{{ .DBDriver }}', 18 'host' => '{{ .DBHostname }}', 19 'password' => 'db', 20 'port' => '{{ .DBPort }}', 21 'user' => 'db', 22 ], 23 ], 24 ], 25 // This GFX configuration allows processing by installed ImageMagick 6 26 'GFX' => [ 27 'processor' => 'ImageMagick', 28 'processor_path' => '/usr/bin/', 29 'processor_path_lzw' => '/usr/bin/', 30 ], 31 // This mail configuration sends all emails to mailpit 32 'MAIL' => [ 33 'transport' => 'smtp', 34 'transport_smtp_encrypt' => false, 35 'transport_smtp_server' => 'localhost:1025', 36 ], 37 'SYS' => [ 38 'trustedHostsPattern' => '.*.*', 39 'devIPmask' => '*', 40 'displayErrors' => 1, 41 ], 42 ] 43 ); 44 }