File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1- version : ' 2 '
1+ version : ' 3 '
22services :
33 mongo-1-2 :
44 container_name : " mongo-1-2"
55 image : mongo
66 ports :
77 - " 30012:27017"
8- command : mongod --replSet rs1 --shardsvr --port 27017 --nojournal --oplogSize 16 --noprealloc --smallfiles
8+ command : mongod --replSet rs1 --shardsvr --port 27017 --oplogSize 16 --noprealloc --smallfiles
99 restart : always
1010
1111 mongo-1-3 :
1212 container_name : " mongo-1-3"
1313 image : mongo
1414 ports :
1515 - " 30013:27017"
16- command : mongod --replSet rs1 --shardsvr --port 27017 --nojournal --oplogSize 16 --noprealloc --smallfiles
16+ command : mongod --replSet rs1 --shardsvr --port 27017 --oplogSize 16 --noprealloc --smallfiles
1717 restart : always
1818
1919 mongo-1-1 :
2020 container_name : " mongo-1-1"
2121 image : mongo
2222 ports :
2323 - " 30011:27017"
24- command : mongod --replSet rs1 --shardsvr --port 27017 --nojournal --oplogSize 16 --noprealloc --smallfiles
24+ command : mongod --replSet rs1 --shardsvr --port 27017 --oplogSize 16 --noprealloc --smallfiles
2525 links :
2626 - mongo-1-2:mongo-1-2
2727 - mongo-1-3:mongo-1-3
Original file line number Diff line number Diff line change 1- version : ' 2 '
1+ version : ' 3 '
22services :
33 mongo-2-2 :
44 container_name : " mongo-2-2"
55 image : mongo
66 ports :
77 - " 30042:27017"
8- command : mongod --replSet rs2 --shardsvr --port 27017 --nojournal --oplogSize 16 --noprealloc --smallfiles
8+ command : mongod --replSet rs2 --shardsvr --port 27017 --oplogSize 16 --noprealloc --smallfiles
99 restart : always
1010
1111 mongo-2-3 :
1212 container_name : " mongo-2-3"
1313 image : mongo
1414 ports :
1515 - " 30043:27017"
16- command : mongod --replSet rs2 --shardsvr --port 27017 --nojournal --oplogSize 16 --noprealloc --smallfiles
16+ command : mongod --replSet rs2 --shardsvr --port 27017 --oplogSize 16 --noprealloc --smallfiles
1717 restart : always
1818
1919 mongo-2-1 :
2020 container_name : " mongo-2-1"
2121 image : mongo
2222 ports :
2323 - " 30041:27017"
24- command : mongod --replSet rs2 --shardsvr --port 27017 --nojournal --oplogSize 16 --noprealloc --smallfiles
24+ command : mongod --replSet rs2 --shardsvr --port 27017 --oplogSize 16 --noprealloc --smallfiles
2525 links :
2626 - mongo-2-2:mongo-2-2
2727 - mongo-2-3:mongo-2-3
Original file line number Diff line number Diff line change 1- version : ' 2 '
1+ version : ' 3 '
22services :
33 mongo-cnf-2 :
44 container_name : " mongo-cnf-2"
Original file line number Diff line number Diff line change 1- version : ' 2 '
1+ version : ' 3 '
22services :
33 mongo-router :
44 container_name : " mongo-router"
You can’t perform that action at this time.
0 commit comments