Docs Menu

Environment Value Configuration Files

On this page

  • Environment Configuration
app/
└── environments/
├── no-environment.json
├── development.json
├── testing.json
├── qa.json
└── production.json

You can define variable values for each environment in a .json file within the /environments directory that uses the environment name as its file name.

Realm supports the following environments:

  • "no-environment"
  • "development"
  • "testing"
  • "qa"
  • "production"
environments/<environment name>.json
{
"values": {
"<Value Name>": <Value>
}
}
Field
Description
values
Object
An object where each property maps the name of an environment value name to its value in the current environment.
Give Feedback
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.