Configure the application
After you deploy the Metadata Capture application, configure it to work in your environment. The application uses a configuration file to manage key settings such as feature flags, database connections, and authentication.
Configure the application settings to work in your environment by editing and mounting the configuration file.
-
Open the configuration file located at
/app/config.jsonin your Docker container.Default settingsTo see the default configuration, download the default config.json file from the repository.
-
Modify the settings in the
config.jsonfile to match your environment. Key settings include:- Application settings: Configure
app_titleandcatalogueinformation (name, description, publisher). - Feature flags: Enable or disable features and other functionality flags.
- Application settings: Configure
-
Configure the different aspects of the application:
- Set up authentication: Configure your OpenID Connect (OIDC) provider.
- Configure roles and permissions: Define your organisation's roles and their permissions.
- Configure email notifications: Customize email templates for dataset lifecycle events.
Schema referenceFor details on the available settings and their expected values and formats, refer to the configuration schema.
-
Mount the configuration file to make your changes persistent. Use either Docker Compose or the
docker runcommand:If you are using Docker Compose:
services:
app:
environment:
- CONFIG_PATH=/app/config.json
volumes:
- ./path/to/custom/config.json:/app/config.jsonIf you are using Docker run:
docker run -v $(pwd)/path/to/custom/config.json:/app/config.json <your-app-name> -e CONFIG_PATH=/app/config.json