2019-08-07 15:17:15 +03:00
|
|
|
<?php
|
2020-01-05 18:45:14 +03:00
|
|
|
|
2019-08-07 15:17:15 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
2020-01-05 18:45:14 +03:00
|
|
|
'cache' => [
|
|
|
|
'redis' => [
|
|
|
|
'servers' => 'tcp://shlink_redis:6379',
|
2022-12-12 22:50:21 +03:00
|
|
|
// 'servers' => 'tcp://barbar@shlink_redis_acl:6379',
|
|
|
|
// 'servers' => 'tcp://foo:bar@shlink_redis_acl:6379',
|
2020-01-05 18:45:14 +03:00
|
|
|
],
|
2019-08-07 15:17:15 +03:00
|
|
|
],
|
|
|
|
|
2022-07-26 11:25:16 +03:00
|
|
|
'redis' => [
|
|
|
|
'pub_sub_enabled' => true,
|
|
|
|
],
|
|
|
|
|
2019-08-07 17:07:17 +03: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 15:17:15 +03:00
|
|
|
];
|