feat: Redis compose

This commit is contained in:
2025-10-29 20:26:18 +01:00
parent 69c5101532
commit 13dae5ae3b
3 changed files with 63 additions and 0 deletions

6
redis/readis/app.php Normal file
View File

@@ -0,0 +1,6 @@
<?php
declare(strict_types=1);
return [
'baseUrl' => 'http://localhost:8080/',
];

23
redis/readis/servers.php Normal file
View 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' => [],
],
];