Much like in ReDBox 1.8+, it is recommended that you keep your configuration changes in it's own repository and overlay them as part of the deployment process.
See the sample customisation repository for an example.
The ReDBox Portal is built on the SailsJS framework and therefore takes advantage of the highly extensible configration framework provided. Please see the SailsJS documentation for more information on it's structure and configuration options.
There are several configuration items that are specific to the ReDBox Portal:
It is possible to use environment variables to modify configuration, this is particularly useful when running the portal in a containerised environment such as docker. Please see Sails configuration document for more information
You may override standard configuration item for a particular environment (e.g development, test and production) by creating or modifying the a environment specif config file in the location config/env/<environment-name>.js
. You can specify the environment by setting the NODE_ENV
environment variable.
Please see the Sails configuration documentation for more information.