|
| 1 | +<?php |
| 2 | +return [ |
| 3 | + 'backend' => [ |
| 4 | + 'frontName' => 'admin' |
| 5 | + ], |
| 6 | + 'db' => [ |
| 7 | + 'connection' => [ |
| 8 | + 'indexer' => [ |
| 9 | + 'host' => '{{ parent().services.db["$name"] }}', |
| 10 | + 'dbname' => '{{ parent().services.db.driver.config.database }}', |
| 11 | + 'username' => 'root', |
| 12 | + 'password' => '{{ parent().services.db.driver.config.password }}', |
| 13 | + 'model' => 'mysql4', |
| 14 | + 'engine' => 'innodb', |
| 15 | + 'initStatements' => 'SET NAMES utf8;', |
| 16 | + 'active' => '1', |
| 17 | + 'persistent' => NULL |
| 18 | + ], |
| 19 | + 'default' => [ |
| 20 | + 'host' => '{{ parent().services.db["$name"] }}', |
| 21 | + 'dbname' => '{{ parent().services.db.driver.config.database }}', |
| 22 | + 'username' => 'root', |
| 23 | + 'password' => '{{ parent().services.db.driver.config.password }}', |
| 24 | + 'model' => 'mysql4', |
| 25 | + 'engine' => 'innodb', |
| 26 | + 'initStatements' => 'SET NAMES utf8;', |
| 27 | + 'active' => '1' |
| 28 | + ] |
| 29 | + ], |
| 30 | + 'table_prefix' => '' |
| 31 | + ], |
| 32 | + 'crypt' => [ |
| 33 | + 'key' => '00000000000000000000000000000000' |
| 34 | + ], |
| 35 | + 'resource' => [ |
| 36 | + 'default_setup' => [ |
| 37 | + 'connection' => 'default' |
| 38 | + ] |
| 39 | + ], |
| 40 | + 'x-frame-options' => 'SAMEORIGIN', |
| 41 | + 'MAGE_MODE' => 'developer', |
| 42 | + 'session' => [ |
| 43 | + 'save' => 'redis', |
| 44 | + 'redis' => [ |
| 45 | + 'host' => '{{ parent().services.redis["$name"] }}', |
| 46 | + 'port' => '6379', |
| 47 | + 'password' => '', |
| 48 | + 'timeout' => '5', |
| 49 | + 'persistent_identifier' => '', |
| 50 | + 'database' => '2', |
| 51 | + 'compression_threshold' => '2048', |
| 52 | + 'compression_library' => 'gzip', |
| 53 | + 'log_level' => '1', |
| 54 | + 'max_concurrency' => '6', |
| 55 | + 'break_after_frontend' => '5', |
| 56 | + 'break_after_adminhtml' => '30', |
| 57 | + 'first_lifetime' => '600', |
| 58 | + 'bot_first_lifetime' => '60', |
| 59 | + 'bot_lifetime' => '7200', |
| 60 | + 'disable_locking' => '0', |
| 61 | + 'min_lifetime' => '60', |
| 62 | + 'max_lifetime' => '2592000' |
| 63 | + ] |
| 64 | + ], |
| 65 | + 'cache' => [ |
| 66 | + 'frontend' => [ |
| 67 | + 'default' => [ |
| 68 | + 'backend' => 'Cm_Cache_Backend_Redis', |
| 69 | + 'backend_options' => [ |
| 70 | + 'server' => '{{ parent().services.redis["$name"] }}', |
| 71 | + 'database' => '0', |
| 72 | + 'port' => '6379' |
| 73 | + ] |
| 74 | + ], |
| 75 | + 'page_cache' => [ |
| 76 | + 'backend' => 'Cm_Cache_Backend_Redis', |
| 77 | + 'backend_options' => [ |
| 78 | + 'server' => '{{ parent().services.redis["$name"] }}', |
| 79 | + 'database' => '1', |
| 80 | + 'port' => '6379', |
| 81 | + 'compress_data' => '1' |
| 82 | + ] |
| 83 | + ] |
| 84 | + ] |
| 85 | + ], |
| 86 | + 'cache_types' => [ |
| 87 | + 'config' => 1, |
| 88 | + 'layout' => 1, |
| 89 | + 'block_html' => 1, |
| 90 | + 'collections' => 1, |
| 91 | + 'reflection' => 1, |
| 92 | + 'db_ddl' => 1, |
| 93 | + 'compiled_config' => 1, |
| 94 | + 'eav' => 1, |
| 95 | + 'customer_notification' => 1, |
| 96 | + 'config_integration' => 1, |
| 97 | + 'config_integration_api' => 1, |
| 98 | + 'full_page' => 1, |
| 99 | + 'target_rule' => 1, |
| 100 | + 'config_webservice' => 1, |
| 101 | + 'translate' => 1, |
| 102 | + 'vertex' => 1 |
| 103 | + ], |
| 104 | + 'queue' => [ |
| 105 | + 'amqp' => [ |
| 106 | + 'host' => '{{ parent().services.rabbitmq["$name"] }}', |
| 107 | + 'port' => '5672', |
| 108 | + 'user' => '{{ parent().services.rabbitmq.environment.RABBITMQ_DEFAULT_USER }}', |
| 109 | + 'password' => '{{ parent().services.rabbitmq.environment.RABBITMQ_DEFAULT_PASS }}', |
| 110 | + 'virtualhost' => '/', |
| 111 | + 'ssl' => false, |
| 112 | + ], |
| 113 | + ], |
| 114 | + 'install' => [ |
| 115 | + 'date' => 'Fri, 12 Apr 2019 15:40:00 +0000' |
| 116 | + ], |
| 117 | + 'http_cache_hosts' => [ |
| 118 | + [ |
| 119 | + 'host' => '{{ parent().services.varnish["$name"] }}', |
| 120 | + 'port' => '{{ parent().services.varnish.port }}' |
| 121 | + ] |
| 122 | + ], |
| 123 | + 'system' => [ |
| 124 | + 'default' => [ |
| 125 | + 'catalog' => [ |
| 126 | + 'search' => [ |
| 127 | + 'engine' => 'opensearch', |
| 128 | + 'opensearch_server_hostname' => 'opensearch', |
| 129 | + 'opensearch_server_port' => 9200, |
| 130 | + ] |
| 131 | + ] |
| 132 | + ] |
| 133 | + ] |
| 134 | +]; |
0 commit comments