feat: Redis compose
This commit is contained in:
6
redis/readis/app.php
Normal file
6
redis/readis/app.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'baseUrl' => 'http://localhost:8080/',
|
||||
];
|
||||
23
redis/readis/servers.php
Normal file
23
redis/readis/servers.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
[
|
||||
'name' => 'Redis Master',
|
||||
'host' => 'redis-master',
|
||||
'port' => 6379,
|
||||
'auth' => null,
|
||||
'timeout' => 2.5,
|
||||
'retryInterval' => 100,
|
||||
'databaseMap' => [],
|
||||
],
|
||||
[
|
||||
'name' => 'Redis Replicata',
|
||||
'host' => 'redis-replica',
|
||||
'port' => 6379,
|
||||
'auth' => null,
|
||||
'timeout' => 2.5,
|
||||
'retryInterval' => 100,
|
||||
'databaseMap' => [],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user