Configuration

The configuration of the data portal is done through environment variables.

The file .env.example contains an example of a configuration file. You can copy it to .env.local and modify it to suit your needs.

cp apps/portal/.env.example apps/portal/.env.local

For development, you can proceed with the default values. For production, you will need to provide your own values for the variables.
If you deploy your application with Docker, when you add/modify/remove an environment variable, you also need to update the Dockerfile file (define the environment variables passed to the builder).

Micro-frontends configuration

You need to configure the deployment URL for each of the micro-frontend apps. See architecture for more details on why this is required.

Configuration files

Some configuration variables are not available through environment variables and need to be changed in configuration files. You can find these in the following files: