Variable name | Data type | Description |
---|
SPACES_DATA | string | Defines and creates spaces. JSON array with spaces (with key, title and databaseName) Example: Code Block |
---|
| [
{
"key": "ExampleKey",
"title": "An example title",
"databaseName": "CDCM-database-name"
},
{
"key": "AnotherExampleKey",
"title": "An different title",
"databaseName": "Other-db"
}
] |
|
ADMIN_TOKEN
| string | Specifies an administrative token, if any, for added security or administrative access.
|
ALLOWED_CORS_ORIGINS
| string | Specifies the origins that are allowed to access the server, for Cross-Origin Resource Sharing (CORS).
|
C ONTEXT_PATH
| string | The base URI context path for the server. If not set, defaults to the root context. |
CORS_ENABLED | boolean | Enables or disables Cross-Origin Resource Sharing (CORS) at the security level. |
CSRF_ENABLED | boolean | Enables or disables Cross-Site Request Forgery (CSRF) protection. |
CSP_HEADER
| string | Set the Content-Security-Policy Header for the server to the value given. Not set by default. |
MONGO_CONNECTION_STRING | string | Defines the full mongodb connection string. Should include hostname (or multiple, if a replica set with multiple nodes is used) including port(s) and optionally the DB name. If no port is provided the default port 27017 is used. Format: mongodb://<hostname>:<port>/<db name>
Example: mongodb://localhost:27019/mydatabase
or for multiple hosts: mongodb://host1:27017,host2:27018,host3:27019/mydatabase
|
MONGO_TRANSACTIONS_ENABLED | boolean | Enables or disables MongoDB transactions. Defaults to false. Note: Can only be enabled if the mongodb deployment uses a replica set. |
MONGO_RUNNING_ON_ATLAS
| string (default: ‘autodetect’) | boolean (true / false) | Indicates whether the connection is against an Atlas Cluster (for Atlas Search), autodetects it via the connection-string by default, can be set manually to true / false |
OAUTH10A_ACTIVE and OAUTH10A_ENABLE | boolean | Control whether OAuth 1.0a is active and enabled in the application. |
OAUTH10A_CONSUMER_KEY | string | Consumer key for OAuth 1.0a authentication. |
OAUTH10A_CONSUMER_SECRET | string | Consumer secret for OAuth 1.0a authentication. |
OAUTH10A_NAME | string | The name for the OAuth 1.0a configuration. |
OAUTH10A_PROTECTED_URL_ROOT | string | Specifies the protected URLs for OAuth 1.0a authentication (comma seperated). |
OAUTH10A_ROOT_SERVICE_URL | string | URL for the OAuth 1.0a root services. |
PORT | integer | Sets the port on which the server will listen. Default is 8080 if not specified. |
PUBLIC_URL | string | The public-facing URL of the server, used for building absolute URLs. Default is http://localhost with the specified server port. |
X_FRAME_SAME_ORIGIN | string | Controls the 'X-Frame-Options' header for clickjacking protection. Defaults to true. |
LOGGING_LEVEL
| string | Sets logging level of the application. Available levels: TRACE DEBUG INFO (default) WARN ERROR FATAL OFF
|
ADMIN_LOGIN_ENABLED
| boolean | show the admin login option |
MONGO_SHARED_DATABASE
| string | Name of the default database. Currently only used for user data |
JWT_ISSUER_URI
| string | Issuer url of jwt tokens |
ENCRYPTION_KEY
| string | Used to encrypt sensitive data that is persisted in the db |