Note
This page describes a legacy configuration file format. You should
only use this information if you're using the deprecated
realm-cli.
Any configuration files you pull with App Services CLI or export from the UI use the latest configuration version. For detailed information on the current configuration file format, see App Configuration.
You can configure high-level features of your application in
realm_config.json.
app/ └── realm_config.json
Configuration
{ "app_id": "<App ID>", "name": "<App Name>", "config_version": <Version Number>, "environment": "<Environment Name>", "allowed_request_origins": ["<Origin URL>", ...], "deployment_model": "<Deployment Model Type>", "location": "<Deployment Cloud Region Name>" }
Field | Description | |
|---|---|---|
app_idString | The application's App ID. | |
nameString | The application's name. NoteApp Name LimitationsApplication names must be between 1 and 32 characters and may only contain ASCII letters, numbers, underscores, and hyphens. | |
config_versionNumber | The schema version that all configuration files in the application conform to. This value is machine generated and you typically should not manually set or modify it. | |
environmentString | The name of the environment the app should use when evaluating environment values. Valid options:
Default: | |
allowed_request_originsDocument | An array of URLs that incoming requests may originate from. If you define any allowed request origins, then Atlas App Services blocks any incoming request from an origin that is not listed. TipRequest origins are URLs with the following form: | |
deployment_modelString | The application's deployment model. Valid options:
| |
locationString | The name of the cloud region that the application is deployed in.
|