rafaelstz
1/16/2018 - 5:59 PM

Magento 2 Env.php configuration file by Platform.sh

Magento 2 Env.php configuration file by Platform.sh

<?php
return array (
    'backend' =>
        array (
            'frontName' => 'admin',
        ),
    'crypt' =>
        array (
            'key' => '2c4f7c9688dc808fe2e23935f7eeb255',
        ),
    'session' =>
        array (
            'save' => 'redis',
            'redis' =>
                array (
                    'host' => 'redis-session',
                    'port' => 6379,
                    'database' => '0',
                ),
        ),
    'db' =>
        array (
            'table_prefix' => '',
            'connection' =>
                array (
                    'default' =>
                        array (
                            'host' => 'db',
                            'dbname' => 'magento',
                            'username' => 'root',
                            'password' => 'root',
                            'model' => 'mysql4',
                            'engine' => 'innodb',
                            'initStatements' => 'SET NAMES utf8;',
                            'active' => '1',
                        ),
                    'indexer' =>
                        array (
                            'username' => 'root',
                            'host' => 'db',
                            'dbname' => 'magento',
                            'password' => 'root',
                        ),
                ),
        ),
    'resource' =>
        array (
            'default_setup' =>
                array (
                    'connection' => 'default',
                ),
        ),
    'x-frame-options' => 'SAMEORIGIN',
    'MAGE_MODE' => 'developer',
    'cache_types' =>
        array (
            'config' => 1,
            'layout' => 1,
            'block_html' => 1,
            'collections' => 1,
            'reflection' => 1,
            'db_ddl' => 1,
            'eav' => 1,
            'customer_notification' => 1,
            'full_page' => 1,
            'config_integration' => 1,
            'config_integration_api' => 1,
            'translate' => 1,
            'config_webservice' => 1,
            'compiled_config' => 1,
            'target_rule' => 1,
        ),
    'install' =>
        array (
            'date' => 'Thu, 05 Jan 2017 22:49:50 +0000',
        ),
    'cache' =>
        array (
            'frontend' =>
                array (
                    'default' =>
                        array (
                            'backend' => 'Cm_Cache_Backend_Redis',
                            'backend_options' =>
                                array (
                                    'server' => 'redis',
                                    'port' => 6379,
                                    'database' => '1',
                                ),
                        ),
                    'page_cache' =>
                        array (
                            'backend' => 'Cm_Cache_Backend_Redis',
                            'backend_options' =>
                                array (
                                    'server' => 'redis',
                                    'port' => 6379,
                                    'database' => '1',
                                ),
                        ),
                ),
        ),
);