Skip to content

Instantly share code, notes, and snippets.

@JosephMaxwell
Created October 11, 2021 15:35
Show Gist options
  • Save JosephMaxwell/f3617c019c52f00ad8ba881d6ad1ad07 to your computer and use it in GitHub Desktop.
Save JosephMaxwell/f3617c019c52f00ad8ba881d6ad1ad07 to your computer and use it in GitHub Desktop.
Art of Ecommerce Debugging Course Configuration
<?php
return [
'backend' => [
'frontName' => 'backend'
],
'remote_storage' => [
'driver' => 'file'
],
'queue' => [
'consumers_wait_for_messages' => 1,
'amqp' => [
'host' => 'localhost',
'port' => '5672',
'user' => 'guest',
'password' => 'guest',
'virtualhost' => '/'
]
],
'db' => [
'table_prefix' => '',
'connection' => [
'default' => [
'host' => '127.0.0.1',
'dbname' => 'aod_project1',
'username' => 'root',
'password' => '[MY PASSWORD]',
'model' => 'mysql4',
'engine' => 'innodb',
'initStatements' => 'SET NAMES utf8;',
'active' => '1',
'driver_options' => [
1014 => false
]
]
]
],
'resource' => [
'default_setup' => [
'connection' => 'default'
]
],
'x-frame-options' => 'SAMEORIGIN',
'MAGE_MODE' => 'developer',
'http_cache_hosts' => [
[
'host' => 'varnish',
'port' => '80'
]
],
'session' => [
'save' => 'files',
'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' => '20',
'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',
'sentinel_master' => '',
'sentinel_servers' => '',
'sentinel_connect_retries' => '5',
'sentinel_verify_master' => '0'
]
],
'cache' => [
'frontend' => [
'default' => [
],
'page_cache' => [
]
],
'allow_parallel_generation' => false
],
'lock' => [
'provider' => 'db',
'config' => [
'prefix' => null
]
],
'directories' => [
'document_root_is_pub' => true
],
'cache_types' => [
'config' => 1,
'layout' => 1,
'block_html' => 0,
'collections' => 1,
'reflection' => 1,
'db_ddl' => 1,
'compiled_config' => 1,
'eav' => 1,
'customer_notification' => 1,
'config_integration' => 1,
'config_integration_api' => 1,
'full_page' => 0,
'config_webservice' => 1,
'translate' => 1,
'vertex' => 1
],
'install' => [
'date' => 'Sat, 20 Mar 2021 20:17:32 +0000'
],
'system' => [
'default' => [
'web' => [
'unsecure' => [
'base_url' => 'https://project1.aod.site/'
],
'secure' => [
'base_url' => 'https://project1.aod.site/',
'offloader_header' => 'X-Forwarded-Proto',
'use_in_frontend' => '1',
'use_in_adminhtml' => '1'
],
'seo' => [
'use_rewrites' => '1'
]
],
'system' => [
'full_page_cache' => [
'caching_application' => '2',
'ttl' => '604800'
]
],
'catalog' => [
'search' => [
'enable_eav_indexer' => '1'
]
],
'dev' => [
'static' => [
'sign' => '0'
]
]
]
]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment