Initial commit: CloudOps infrastructure platform
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'routes' => [
|
||||
'main' => [],
|
||||
'public' => [],
|
||||
'api' => [],
|
||||
],
|
||||
'menu' => [],
|
||||
'services' => [
|
||||
'events' => [
|
||||
'mautic.cache.clear_cache_subscriber' => [
|
||||
'class' => Mautic\CacheBundle\EventListener\CacheClearSubscriber::class,
|
||||
'tags' => ['kernel.cache_clearer'],
|
||||
'arguments' => [
|
||||
'mautic.cache.provider',
|
||||
'monolog.logger.mautic',
|
||||
],
|
||||
],
|
||||
],
|
||||
'other' => [
|
||||
'mautic.cache.adapter.filesystem' => [
|
||||
'class' => Mautic\CacheBundle\Cache\Adapter\FilesystemTagAwareAdapter::class,
|
||||
'arguments' => [
|
||||
'%mautic.cache_prefix%',
|
||||
'%mautic.cache_lifetime%',
|
||||
'%mautic.tmp_path%',
|
||||
],
|
||||
'tag' => 'mautic.cache.adapter',
|
||||
],
|
||||
'mautic.cache.adapter.memcached' => [
|
||||
'class' => Mautic\CacheBundle\Cache\Adapter\MemcachedTagAwareAdapter::class,
|
||||
'arguments' => [
|
||||
'%mautic.cache_adapter_memcached%',
|
||||
'%mautic.cache_prefix%',
|
||||
'%mautic.cache_lifetime%',
|
||||
],
|
||||
'tag' => 'mautic.cache.adapter',
|
||||
],
|
||||
],
|
||||
'models' => [],
|
||||
'validator' => [],
|
||||
],
|
||||
|
||||
'parameters' => [
|
||||
'cache_adapter' => 'mautic.cache.adapter.filesystem',
|
||||
'cache_adapter_tag_aware' => 'mautic.cache.adapter.filesystem',
|
||||
'cache_prefix' => '',
|
||||
'cache_lifetime' => 86400,
|
||||
'cache_adapter_memcached' => [
|
||||
'servers' => ['memcached://localhost'],
|
||||
'options' => [
|
||||
'compression' => true,
|
||||
'libketama_compatible' => true,
|
||||
'serializer' => 'igbinary',
|
||||
],
|
||||
],
|
||||
'cache_adapter_redis' => [
|
||||
'dsn' => 'redis://localhost',
|
||||
'options' => [
|
||||
'lazy' => false,
|
||||
'persistent' => 0,
|
||||
'persistent_id' => null,
|
||||
'timeout' => 30,
|
||||
'read_timeout' => 0,
|
||||
'retry_interval' => 0,
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user