Mongo Environment Variables
Following are the environment variables used in MongoDB service.
Config Parameter | Expected Value | Notes |
---|---|---|
MONGODB_ADMIN_PASSWORD | Mongodb admin password e.g. | This value will set the password of Mongodb root user. In order to perform any administrative task on Mongodb instance, root user access is required. |
MONGODB_USER | Mongodb user e.g. | This value will be used by other services or third party application as a part of authentication parameter for establishing connection with Mongodb. |
MONGODB_PASSWORD | Mongodb user password e.g. | This value will set the password of Mongodb user. This value will be used by other services or third party application as a part of authentication parameter for establishing connection with Mongodb. |
MONGODB_DATABASE | The name of database. Default value is | The name of database. This value will be used by other services or third party application as a part of parameter for establishing connection with Mongodb. |