Geek7 commited on
Commit
02e4541
·
verified ·
1 Parent(s): 22717bd

Update docker-compose.yml

Browse files
Files changed (1) hide show
  1. 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 --requirepass yourpassword
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 --requirepass yourpassword --masterauth yourpassword"
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