/php
Last active
January 15, 2021 16:48
magento-default-env.php
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 | |
return [ | |
'cache' => [ | |
'frontend' => [ | |
'default' => [ | |
'backend' => 'Cm_Cache_Backend_Redis', | |
'backend_options' => [ | |
'server' => 'redis', | |
'port' => 6379, | |
'database' => 1 | |
] | |
], | |
'page_cache' => [ | |
'backend' => 'Cm_Cache_Backend_Redis', | |
'backend_options' => [ | |
'server' => 'redis', | |
'port' => 6379, | |
'database' => 2 | |
] | |
] | |
] | |
], | |
'MAGE_MODE' => 'developer', | |
'cache_types' => [ | |
'compiled_config' => 1, | |
'config' => 1, | |
'layout' => 1, | |
'block_html' => 1, | |
'collections' => 1, | |
'reflection' => 1, | |
'db_ddl' => 1, | |
'eav' => 1, | |
'customer_notification' => 1, | |
'config_integration' => 1, | |
'config_integration_api' => 1, | |
'full_page' => 1, | |
'target_rule' => 1, | |
'config_webservice' => 1, | |
'translate' => 1, | |
'vertex' => 1 | |
], | |
'cron' => [ | |
], | |
'backend' => [ | |
'frontName' => 'admin' | |
], | |
'queue' => [ | |
'consumers_wait_for_messages' => 0 | |
], | |
'db' => [ | |
'connection' => [ | |
'default' => [ | |
'host' => 'db', | |
'username' => 'magento', | |
'dbname' => 'magento', | |
'password' => 'magento' | |
], | |
'indexer' => [ | |
'host' => 'db', | |
'username' => 'magento', | |
'dbname' => 'magento', | |
'password' => 'magento' | |
] | |
] | |
], | |
'crypt' => [ | |
'key' => '7cdfc7ea8081d97de33bf3d4257db587' | |
], | |
'resource' => [ | |
'default_setup' => [ | |
'connection' => 'default' | |
] | |
], | |
'x-frame-options' => 'SAMEORIGIN', | |
'session' => [ | |
'save' => 'redis', | |
'redis' => [ | |
'host' => 'redis', | |
'port' => 6379, | |
'database' => 0, | |
'disable_locking' => 1 | |
] | |
], | |
'lock' => [ | |
'provider' => 'db', | |
'config' => [ | |
'prefix' => null | |
] | |
], | |
'directories' => [ | |
'document_root_is_pub' => true | |
], | |
'install' => [ | |
'date' => 'Wed, 16 Dec 2020 08:28:52 +0000' | |
], | |
'static_content_on_demand_in_production' => 0, | |
'force_html_minification' => 1, | |
'cron_consumers_runner' => [ | |
'cron_run' => false, | |
'max_messages' => 10000, | |
'consumers' => [ | |
] | |
], | |
'system' => [ | |
'default' => [ | |
'catalog' => [ | |
'search' => [ | |
'engine' => 'elasticsearch7', | |
'elasticsearch7_server_hostname' => 'elasticsearch', | |
'elasticsearch7_server_port' => 9200 | |
] | |
] | |
] | |
] | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment