Update docker-compose.yml
Browse files- docker-compose.yml +2 -2
docker-compose.yml
CHANGED
@@ -6,7 +6,7 @@ services:
|
|
6 |
container_name: redis-master
|
7 |
ports:
|
8 |
- "6379:6379"
|
9 |
-
command: redis-server
|
10 |
networks:
|
11 |
- redisnet
|
12 |
|
@@ -16,7 +16,7 @@ services:
|
|
16 |
depends_on:
|
17 |
- redis-master
|
18 |
command: >
|
19 |
-
sh -c "redis-server --replicaof redis-master 6379
|
20 |
networks:
|
21 |
- redisnet
|
22 |
|
|
|
6 |
container_name: redis-master
|
7 |
ports:
|
8 |
- "6379:6379"
|
9 |
+
command: redis-server
|
10 |
networks:
|
11 |
- redisnet
|
12 |
|
|
|
16 |
depends_on:
|
17 |
- redis-master
|
18 |
command: >
|
19 |
+
sh -c "redis-server --replicaof redis-master 6379"
|
20 |
networks:
|
21 |
- redisnet
|
22 |
|