Use redis-replica instead of redis-slave in GUI

This commit is contained in:
Srinivas Chavan 2022-02-05 13:07:28 +05:30
parent 2b1e860e04
commit 07b0cacf47
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ if (isset($_GET['cmd']) === true) {
$client->set($_GET['key'], $_GET['value']);
print('{"message": "Updated"}');
} else {
$host = 'redis-slave';
$host = 'redis-replica';
if (getenv('GET_HOSTS_FROM') == 'env') {
$host = getenv('REDIS_SLAVE_SERVICE_HOST');
}