Skip to content

Commit 1d16f5f

Browse files
authored
chore: update the default version of mongodb
1 parent 1c25c65 commit 1d16f5f

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

docker-compose.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.8'
22
services:
33
mongo-1-1:
44
container_name: "mongo-1-1"
5-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
5+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
66
ports:
77
- "${TEST_MONGODB_S1_PRIMARY_PORT:-17001}:27017"
88
command: mongod --replSet rs1 --shardsvr --port 27017 --oplogSize 16
@@ -12,28 +12,28 @@ services:
1212

1313
mongo-1-2:
1414
container_name: "mongo-1-2"
15-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
15+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
1616
ports:
1717
- "${TEST_MONGODB_S1_SECONDARY1_PORT:-17002}:27017"
1818
command: mongod --replSet rs1 --shardsvr --port 27017 --oplogSize 16
1919

2020
mongo-1-3:
2121
container_name: "mongo-1-3"
22-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
22+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
2323
ports:
2424
- "${TEST_MONGODB_S1_SECONDARY2_PORT:-17003}:27017"
2525
command: mongod --replSet rs1 --shardsvr --port 27017 --oplogSize 16
2626

2727
mongo-1-arbiter:
2828
container_name: "mongo-1-arbiter"
29-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
29+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
3030
ports:
3131
- "${TEST_MONGODB_S1_ARBITER:-17011}:27017"
3232
command: mongod --replSet rs1 --shardsvr --port 27017 --oplogSize 16
3333

3434
mongo-rs1-setup:
3535
container_name: "mongo-rs1-setup"
36-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
36+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
3737
depends_on:
3838
- "mongo-1-1"
3939
- "mongo-1-2"
@@ -56,21 +56,21 @@ services:
5656

5757
mongo-2-2:
5858
container_name: "mongo-2-2"
59-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
59+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
6060
ports:
6161
- "${TEST_MONGODB_S2_PRIMARY_PORT:-17004}:27017"
6262
command: mongod --replSet rs2 --shardsvr --port 27017 --oplogSize 16
6363

6464
mongo-2-3:
6565
container_name: "mongo-2-3"
66-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
66+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
6767
ports:
6868
- "${TEST_MONGODB_S2_SECONDARY1_PORT:-17005}:27017"
6969
command: mongod --replSet rs2 --shardsvr --port 27017 --oplogSize 16
7070

7171
mongo-2-1:
7272
container_name: "mongo-2-1"
73-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
73+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
7474
ports:
7575
- "${TEST_MONGODB_S2_SECONDARY2_PORT:-17006}:27017"
7676
command: mongod --replSet rs2 --shardsvr --port 27017 --oplogSize 16
@@ -80,14 +80,14 @@ services:
8080

8181
mongo-2-arbiter:
8282
container_name: "mongo-2-arbiter"
83-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
83+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
8484
ports:
8585
- "${TEST_MONGODB_S2_ARBITER:-17012}:27017"
8686
command: mongod --replSet rs1 --shardsvr --port 27017 --oplogSize 16
8787

8888
mongo-rs2-setup:
8989
container_name: "mongo-rs2-setup"
90-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
90+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
9191
depends_on:
9292
- "mongo-2-1"
9393
- "mongo-2-2"
@@ -110,21 +110,21 @@ services:
110110
# Config servers
111111
mongo-cnf-2:
112112
container_name: "mongo-cnf-2"
113-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
113+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
114114
ports:
115115
- "${TEST_MONGODB_CONFIGSVR1_PORT:-17007}:27017"
116116
command: mongod --dbpath /data/db --replSet cnf-serv --configsvr --port 27017 --oplogSize 16
117117

118118
mongo-cnf-3:
119119
container_name: "mongo-cnf-3"
120-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
120+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
121121
ports:
122122
- "${TEST_MONGODB_CONFIGSVR2_PORT:-17008}:27017"
123123
command: mongod --dbpath /data/db --replSet cnf-serv --configsvr --port 27017 --oplogSize 16
124124

125125
mongo-cnf-1:
126126
container_name: "mongo-cnf-1"
127-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
127+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
128128
ports:
129129
- "${TEST_MONGODB_CONFIGSVR3_PORT:-17009}:27017"
130130
command: mongod --dbpath /data/db --replSet cnf-serv --configsvr --port 27017 --oplogSize 16
@@ -134,7 +134,7 @@ services:
134134

135135
mongo-cnf-setup:
136136
container_name: "mongo-cnf-setup"
137-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
137+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
138138
depends_on:
139139
- "mongo-cnf-1"
140140
- "mongo-cnf-2"
@@ -155,7 +155,7 @@ services:
155155

156156
mongos:
157157
container_name: "mongos"
158-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
158+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
159159
ports:
160160
- "${TEST_MONGODB_MONGOS_PORT:-17000}:27017"
161161
depends_on:
@@ -176,7 +176,7 @@ services:
176176

177177
mongo-shard-setup:
178178
container_name: "mongo-shard-setup"
179-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
179+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
180180
depends_on:
181181
- "mongos"
182182
links:
@@ -202,14 +202,14 @@ services:
202202

203203
standalone:
204204
container_name: "standalone"
205-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
205+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
206206
ports:
207207
- "${TEST_MONGODB_STANDALONE_PORT:-27017}:27017"
208208
command: mongod --port 27017 --oplogSize 16
209209

210210
standalone-encrypted:
211211
container_name: "standalone-encrypted"
212-
image: ${TEST_MONGODB_IMAGE:-mongo:4.2}
212+
image: ${TEST_MONGODB_IMAGE:-mongo:4.4}
213213
ports:
214214
- "${TEST_MONGODB_STANDALONE_ENCRYPTED_PORT:-27027}:27017"
215215
volumes:

0 commit comments

Comments
 (0)