doughnut-wedding/app/config/snc_redis.yml

63 lines
1.8 KiB
YAML

snc_redis:
clients:
default:
type: predis
alias: default
dsn: redis://redis
logging: '%kernel.debug%'
monolog:
type: predis
alias: monolog
dsn: redis://redis/5
logging: false
options:
connection_persistent: true
cache:
type: predis
alias: cache
dsn: redis://redis/3
options:
profile: 2.2
connection_timeout: 10
read_write_timeout: 30
profiler_storage:
type: predis
alias: profiler_storage
dsn: redis://redis/10
session:
type: predis
alias: session
dsn: redis://redis/4
logging: true
session:
client: session
prefix: 'doughnut:session:'
monolog:
client: monolog
key: monolog
formatter: colored_line_formatter
profiler_storage:
client: profiler_storage
ttl: 3600
doctrine:
metadata_cache:
client: cache
entity_manager: default
document_manager: default
namespace: 'doughnut:doctrine:metadata:'
result_cache:
client: cache
entity_manager: default
document_manager: default
namespace: 'doughnut:doctrine:result:'
query_cache:
client: cache
entity_manager: default
namespace: 'doughnut:doctrine:query:'
second_level_cache:
client: cache
entity_manager: default
namespace: 'doughnut:doctrine:second_level:'
swiftmailer:
client: default
key: swiftmailer