File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,10 +19,12 @@ services:
1919 mongo :
2020 image : ' bitnami/mongodb:4.4.10'
2121 environment :
22- MONGODB_ROOT_PASSWORD : example
23- MONGODB_REPLICA_SET_MODE : primary
24- MONGODB_REPLICA_SET_NAME : rs0
25- MONGODB_REPLICA_SET_KEY : replicaSetKey
22+ MONGO_INITDB_ROOT_USERNAME : root
23+ MONGO_INITDB_ROOT_PASSWORD : example
24+ # MONGODB_ROOT_PASSWORD: example
25+ # MONGODB_REPLICA_SET_MODE: primary
26+ # MONGODB_REPLICA_SET_NAME: rs0
27+ # MONGODB_REPLICA_SET_KEY: replicaSetKey
2628 ports :
2729 - 27017:27017
2830
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ pipeline =
88use = egg:openprocurement.api
99
1010mongodb.db_name = test
11- mongodb.uri = mongodb://root:example@mongo:27017/? replicaSet =rs0
11+ mongodb.uri = mongodb://root:example@mongo:27017
1212mongodb.plan_collection = test_plans
1313mongodb.tender_collection = test_tenders
1414mongodb.contract_collection = test_contracts
You can’t perform that action at this time.
0 commit comments