Skip to content

Instantly share code, notes, and snippets.

@rafaelstz
Last active January 16, 2018 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafaelstz/eac2108b8d193a24cab4da1a11dd709f to your computer and use it in GitHub Desktop.
Save rafaelstz/eac2108b8d193a24cab4da1a11dd709f to your computer and use it in GitHub Desktop.
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',
),
),
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment