...
Open or create app/etc/env.php and paste the following in
**the crypt key below can be found in bitwarden as MySQL Magento Config Crypt Key
Code Block |
---|
<?php return [ 'backend' => [ 'frontName' => 'admin' ], 'install' => [ 'date' => 'Mon, 13 May 2019 16:46:50 +0000' ], 'crypt' => [ 'key' => '2756aee4edcbc2e8c8734287b50cfe74seebitwarden' ], 'db' => [ 'table_prefix' => '', 'connection' => [ 'default' => [ 'host' => '127.0.0.1', 'dbname' => 'continuingeducation', 'username' => 'root', 'password' => '', 'model' => 'mysql4', 'engine' => 'innodb', 'initStatements' => 'SET NAMES utf8;', 'active' => '1' ] ] ], 'resource' => [ 'default_setup' => [ 'connection' => 'default' ] ], 'session' => [ 'save' => 'redis', 'redis' => [ 'host' => '127.0.0.1', 'port' => '6379', 'password' => '', 'timeout' => '2.5', 'persistent_identifier' => '', 'database' => '2', 'compression_threshold' => '2048', 'compression_library' => 'gzip', 'log_level' => '1', 'max_concurrency' => '6', 'break_after_frontend' => '5', 'break_after_adminhtml' => '30', 'first_lifetime' => '600', 'bot_first_lifetime' => '60', 'bot_lifetime' => '7200', 'disable_locking' => '0', 'min_lifetime' => '60', 'max_lifetime' => '2592000' ] ], 'cache' => [ 'frontend' => [ 'default' => [ 'backend' => 'Cm_Cache_Backend_Redis', 'backend_options' => [ 'server' => '127.0.0.1', 'database' => '0', 'port' => '6379', 'password' => '' ] ], 'page_cache' => [ 'backend' => 'Cm_Cache_Backend_Redis', 'backend_options' => [ 'server' => '127.0.0.1', 'port' => '6379', 'password' => '', 'database' => '1', 'compress_data' => '0' ] ] ] ], 'x-frame-options' => 'SAMEORIGIN', 'MAGE_MODE' => 'developer', 'cache_types' => [ 'config' => 1, 'layout' => 1, 'block_html' => 1, 'collections' => 1, 'reflection' => 1, 'db_ddl' => 1, 'eav' => 1, 'config_integration' => 1, 'config_integration_api' => 1, 'full_page' => 1, 'translate' => 1, 'config_webservice' => 1, 'compiled_config' => 1 ], 'queue' => [ 'amqp' => [ 'host' => 'rabbitmq', 'port' => '5672', 'user' => 'guest', 'password' => 'guest', 'virtualhost' => '/', 'ssl' => '' ] ], 'cron_consumers_runner' => [ 'max_messages' => 500 ], 'directories' => [ 'document_root_is_pub' => 1 ] ]; |
...