File tree Expand file tree Collapse file tree 3 files changed +37
-3
lines changed Expand file tree Collapse file tree 3 files changed +37
-3
lines changed Original file line number Diff line number Diff line change 11node_modules
22coverage
33logs
4- .env
4+ .env
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN npm ci
88
99COPY . .
1010
11- EXPOSE 3500
12- CMD ["npm" , "run" , "start " ]
11+ EXPOSE 4000
12+ CMD ["npm" , "run" , "serverstart " ]
1313
1414
Original file line number Diff line number Diff line change 1+ version : ' 3'
2+ services :
3+ primary :
4+ image : mongo
5+ container_name : mongodb-primary
6+ ports :
7+ - " 27017:27017"
8+ environment :
9+ MONGO_INITDB_REPLICA_SET : ReplicaSet
10+
11+ secondary1 :
12+ image : mongo
13+ container_name : mongodb-secondary1
14+ ports :
15+ - " 27018:27017"
16+ environment :
17+ MONGO_INITDB_REPLICA_SET : ReplicaSet
18+
19+ secondary2 :
20+ image : mongo
21+ container_name : mongodb-secondary2
22+ ports :
23+ - " 27019:27017"
24+ environment :
25+ MONGO_INITDB_REPLICA_SET : ReplicaSet
26+
27+ arbiter :
28+ image : mongo
29+ container_name : mongodb-arbiter
30+ ports :
31+ - " 27020:27017"
32+ environment :
33+ MONGO_INITDB_REPLICA_SET : ReplicaSet
34+ MONGO_INITDB_ARBITER : " yes"
You can’t perform that action at this time.
0 commit comments