File tree Expand file tree Collapse file tree 5 files changed +16
-26
lines changed Expand file tree Collapse file tree 5 files changed +16
-26
lines changed Original file line number Diff line number Diff line change 11# Test rig
22
3+ Using ` mongo:latest ` image, tested on "MONGO_VERSION=4.0.1".
4+
35# Docker for Windows
46
57| Key | Value |
1113| Built | Wed Jul 18 19:13:46 2018 |
1214| OS/Arch | windows/amd64 |
1315| Experimental | false |
14-
15- # Linux
16-
17- | Key | Value |
18- | ----------------| --------------------|
19- | Version | 1.12.6 |
20- | API version | 1.24 |
21- | Go version | go1.6.4 |
22- | OS type | linux |
23- | OS | Ubuntu 16.04.1 LTS |
24- | Architecture | amd64 |
25- | Kernel version | 4.4.0-57-generic |
Original file line number Diff line number Diff line change @@ -2,23 +2,23 @@ version: '3'
22services :
33 mongo-1-2 :
44 container_name : " mongo-1-2"
5- image : mongo
5+ image : mongo:4.0.1
66 ports :
77 - " 30012:27017"
88 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"
13- image : mongo
13+ image : mongo:4.0.1
1414 ports :
1515 - " 30013:27017"
1616 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"
21- image : mongo
21+ image : mongo:4.0.1
2222 ports :
2323 - " 30011:27017"
2424 command : mongod --replSet rs1 --shardsvr --port 27017 --oplogSize 16 --noprealloc --smallfiles
@@ -29,7 +29,7 @@ services:
2929
3030 mongo-rs1-setup :
3131 container_name : " mongo-rs1-setup"
32- image : mongo
32+ image : mongo:4.0.1
3333 depends_on :
3434 - " mongo-1-1"
3535 - " mongo-1-2"
Original file line number Diff line number Diff line change @@ -2,23 +2,23 @@ version: '3'
22services :
33 mongo-2-2 :
44 container_name : " mongo-2-2"
5- image : mongo
5+ image : mongo:4.0.1
66 ports :
77 - " 30022:27017"
88 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"
13- image : mongo
13+ image : mongo:4.0.1
1414 ports :
1515 - " 30023:27017"
1616 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"
21- image : mongo
21+ image : mongo:4.0.1
2222 ports :
2323 - " 30021:27017"
2424 command : mongod --replSet rs2 --shardsvr --port 27017 --oplogSize 16 --noprealloc --smallfiles
@@ -29,7 +29,7 @@ services:
2929
3030 mongo-rs2-setup :
3131 container_name : " mongo-rs2-setup"
32- image : mongo
32+ image : mongo:4.0.1
3333 depends_on :
3434 - " mongo-2-1"
3535 - " mongo-2-2"
Original file line number Diff line number Diff line change @@ -2,23 +2,23 @@ version: '3'
22services :
33 mongo-cnf-2 :
44 container_name : " mongo-cnf-2"
5- image : mongo
5+ image : mongo:4.0.1
66 ports :
77 - " 30102:27017"
88 command : mongod --replSet cnf-serv --configsvr --port 27017 --oplogSize 16 --noprealloc --smallfiles
99 restart : always
1010
1111 mongo-cnf-3 :
1212 container_name : " mongo-cnf-3"
13- image : mongo
13+ image : mongo:4.0.1
1414 ports :
1515 - " 30103:27017"
1616 command : mongod --replSet cnf-serv --configsvr --port 27017 --oplogSize 16 --noprealloc --smallfiles
1717 restart : always
1818
1919 mongo-cnf-1 :
2020 container_name : " mongo-cnf-1"
21- image : mongo
21+ image : mongo:4.0.1
2222 ports :
2323 - " 30101:27017"
2424 command : mongod --replSet cnf-serv --configsvr --port 27017 --oplogSize 16 --noprealloc --smallfiles
@@ -29,7 +29,7 @@ services:
2929
3030 mongo-cnf-setup :
3131 container_name : " mongo-cnf-setup"
32- image : mongo
32+ image : mongo:4.0.1
3333 depends_on :
3434 - " mongo-cnf-1"
3535 - " mongo-cnf-2"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '3'
22services :
33 mongo-router :
44 container_name : " mongo-router"
5- image : mongo
5+ image : mongo:4.0.1
66 ports :
77 - " 30001:27017"
88 depends_on :
@@ -24,7 +24,7 @@ services:
2424
2525 mongo-shard-setup :
2626 container_name : " mongo-shard-setup"
27- image : mongo
27+ image : mongo:4.0.1
2828 depends_on :
2929 - " mongo-router"
3030 links :
You can’t perform that action at this time.
0 commit comments