2019-08-07 14:17:15 +02:00
|
|
|
<?php
|
2020-01-05 16:45:14 +01:00
|
|
|
|
2019-08-07 14:17:15 +02:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
2020-01-05 16:45:14 +01:00
|
|
|
'cache' => [
|
|
|
|
'redis' => [
|
|
|
|
'servers' => 'tcp://shlink_redis:6379',
|
2022-12-12 20:50:21 +01:00
|
|
|
// 'servers' => 'tcp://barbar@shlink_redis_acl:6379',
|
|
|
|
// 'servers' => 'tcp://foo:bar@shlink_redis_acl:6379',
|
2020-01-05 16:45:14 +01:00
|
|
|
],
|
2019-08-07 14:17:15 +02:00
|
|
|
],
|
|
|
|
|
2022-07-26 10:25:16 +02:00
|
|
|
'redis' => [
|
|
|
|
'pub_sub_enabled' => true,
|
|
|
|
],
|
|
|
|
|
2019-08-07 16:07:17 +02:00
|
|
|
'dependencies' => [
|
|
|
|
'aliases' => [
|
|
|
|
// With this config, a user could alias 'lock_store' => 'redis_lock_store' to override the default
|
|
|
|
// 'lock_store' => 'redis_lock_store',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
2019-08-07 14:17:15 +02:00
|
|
|
];
|