From 033ba588c9ac2abbc9a75ad3aafde9f14fd67235 Mon Sep 17 00:00:00 2001 From: John Guo Date: Sat, 5 Nov 2022 10:23:52 +0800 Subject: [PATCH] fix redis ci yaml (#2269) --- .github/workflows/redis/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/redis/docker-compose.yml b/.github/workflows/redis/docker-compose.yml index fc75ef92d..b627e6dda 100644 --- a/.github/workflows/redis/docker-compose.yml +++ b/.github/workflows/redis/docker-compose.yml @@ -3,7 +3,7 @@ version: "2" services: redis-master: container_name: redis-master - image: "loads/redis:7.0" + image: "loads/redis:7.0-sentinel" environment: - REDIS_REPLICATION_MODE=master - REDIS_PASSWORD=111111 @@ -12,7 +12,7 @@ services: redis-slave1: container_name: redis-slave1 - image: "loads/redis:7.0" + image: "loads/redis:7.0-sentinel" environment: - REDIS_REPLICATION_MODE=slave - REDIS_MASTER_HOST=redis-master @@ -27,7 +27,7 @@ services: redis-slave2: container_name: redis-slave2 - image: "loads/redis:7.0" + image: "loads/redis:7.0-sentinel" environment: - REDIS_REPLICATION_MODE=slave - REDIS_MASTER_HOST=redis-master