<?php

$GLOBALS['TYPO3_CONF_VARS'] = array_replace_recursive(
    $GLOBALS['TYPO3_CONF_VARS'],
    [
        'DB' => [
            'Connections' => [
                'Default' => [
                    'dbname' => 'db',
                    '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_server' => 'localhost:1025',
        ],
        'SYS' => [
            'trustedHostsPattern' => '(.*\.ddev)\.site',
            'displayErrors' => 1,
        ],
        'BE' => [
            'installToolPassword' => '$argon2i$v=19$m=65536,t=16,p=1$VHFPTmdBVzVWQ1labEJtdQ$Hxr6/231klLq4p58JM7hICMOV6VZTCMEv9GteFk+u0k',
            'debug' => 1,
        ],
        'FE' => [
            'displayErrors' => 0,
        ],
    ]
);
