This guide resolves around all processes that are involved when the backend is starting up.
The backend contains a script run.sh
that starts it with the correct environment settings.
The backend uses settings.json
as startup configuration.
They are set via environment variable in run.sh
.
There are a few concepts in this config which need further explanation:
This contains configuration regarding remote apps and services. A simple example is on which URL the service is accessed.
The backend currently connects to one remote, the content server. The following configuration is therefore used in combination with the content server:
url:string
- the url of the content server, used to connect to it
jwt:{key:string, sub:string}
- JsonWebToken credentials for user-less authentication
sync:object
- defines which of the backend collections are to be synced at startup.
Read more about it in the backend sync guide.
Users will receive restore codes during their registration. These codes can be used to restore their account on another device.
This config defines a detailed behaviour on how these codes are generated.
Keys and settings for the encryption of certain data.
Settings for the logging behaviour.