Last active
March 22, 2022 12:30
-
-
Save rfay/717c272aab729648619c839dcfa049c3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* #ddev-generated: Automatically generated TYPO3 AdditionalConfiguration.php 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. | |
*/ | |
if (getenv('IS_DDEV_PROJECT') == 'true') { | |
$GLOBALS['TYPO3_CONF_VARS'] = array_replace_recursive( | |
$GLOBALS['TYPO3_CONF_VARS'], | |
[ | |
'DB' => [ | |
'Connections' => [ | |
'Default' => [ | |
'dbname' => 'db', | |
'host' => 'ddev-t3-db', | |
'password' => 'db', | |
'port' => '3306', | |
'user' => 'db', | |
], | |
], | |
], | |
// This GFX configuration allows processing by installed ImageMagick 6 | |
'GFX' => [ | |
'processor' => 'ImageMagick', | |
'processor_path' => '/usr/bin/', | |
'processor_path_lzw' => '/usr/bin/', | |
], | |
// This mail configuration sends all emails to mailhog | |
'MAIL' => [ | |
'transport' => 'smtp', | |
'transport_smtp_server' => 'localhost:1025', | |
], | |
'SYS' => [ | |
'trustedHostsPattern' => '.*.*', | |
'devIPmask' => '*', | |
'displayErrors' => 1, | |
], | |
] | |
); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* #ddev-generated: Automatically generated TYPO3 AdditionalConfiguration.php 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. | |
*/ | |
if (getenv('IS_DDEV_PROJECT') == 'true') { | |
$GLOBALS['TYPO3_CONF_VARS'] = array_replace_recursive( | |
$GLOBALS['TYPO3_CONF_VARS'], | |
[ | |
'DB' => [ | |
'Connections' => [ | |
'Default' => [ | |
'dbname' => 'db', | |
'driver' => 'pdo_mysql', | |
'host' => 'db', | |
'password' => 'db', | |
'port' => '3306', | |
'user' => 'db', | |
], | |
], | |
], | |
// This GFX configuration allows processing by installed ImageMagick 6 | |
'GFX' => [ | |
'processor' => 'ImageMagick', | |
'processor_path' => '/usr/bin/', | |
'processor_path_lzw' => '/usr/bin/', | |
], | |
// This mail configuration sends all emails to mailhog | |
'MAIL' => [ | |
'transport' => 'smtp', | |
'transport_smtp_encrypt' => false, | |
'transport_smtp_server' => 'localhost:1025', | |
], | |
'SYS' => [ | |
'trustedHostsPattern' => '.*.*', | |
'devIPmask' => '*', | |
'displayErrors' => 1, | |
], | |
] | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment