File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -280,6 +280,8 @@ services:
280280 dockerfile : Dockerfile
281281 network : host
282282 container_name : aggregator-shard1-1
283+ ports :
284+ - " 3011:3000"
283285 restart : unless-stopped
284286 networks :
285287 - default
@@ -355,6 +357,8 @@ services:
355357 aggregator-shard1-2 :
356358 << : *aggregator-base
357359 container_name : aggregator-shard1-2
360+ ports :
361+ - " 3012:3000"
358362 environment :
359363 << : *environment-base
360364 MONGODB_URI : " mongodb://mongodb-shard1-1:27017,mongodb-shard1-2:27017,mongodb-shard1-3:27017/aggregator?replicaSet=rs1"
@@ -367,6 +371,8 @@ services:
367371 aggregator-shard2-1 :
368372 << : *aggregator-base
369373 container_name : aggregator-shard2-1
374+ ports :
375+ - " 3021:3000"
370376 environment :
371377 << : *environment-base
372378 MONGODB_URI : " mongodb://mongodb-shard2-1:27017,mongodb-shard2-2:27017,mongodb-shard2-3:27017/aggregator?replicaSet=rs2"
@@ -379,6 +385,8 @@ services:
379385 aggregator-shard2-2 :
380386 << : *aggregator-base
381387 container_name : aggregator-shard2-2
388+ ports :
389+ - " 3022:3000"
382390 environment :
383391 << : *environment-base
384392 MONGODB_URI : " mongodb://mongodb-shard2-1:27017,mongodb-shard2-2:27017,mongodb-shard2-3:27017/aggregator?replicaSet=rs2"
You can’t perform that action at this time.
0 commit comments