Configuration

Self-hosted

The self-hosted version of the application is configured using environment variables.

Environment Variables

Environment VariableValueDescription
WEBSITES_PORT8080The port on which the website will run.
APPLICATION_HOST_WEBhttps://WEBSITE_HOSTNAMEThe web application's URL. Used in emails to build a link to the application.
SPRING_DATASOURCE_URLjdbc:postgresql://YOUR_POSTGRES_HOST:5432/postgresJDBC URL for PostgreSQL database.
SPRING_DATASOURCE_USERNAMEYour Postgres UsernameThe username of the PostgreSQL server.
SPRING_DATASOURCE_PASSWORDYour Postgres PasswordThe password of the PostgreSQL server.
SPRING_MAIL_HOSTYour SMTP hostSMTP server host.
SPRING_MAIL_PORTYour SMTP portSMTP server port.
SPRING_MAIL_USERNAMEYour SMTP usernameLogin user of the SMTP server.
SPRING_MAIL_PASSWORDYour SMTP passwordLogin password of the SMTP server.
SPRING_MAIL_PROPERTIES_MAIL_SMTP_AUTHtrueUse basic authentication for SMTP.
SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLEtrueEnsure that TLS is used.
APPLICATION_MAIL_FROMsupport@example.comThe sender email address.
APPLICATION_SUPERADMINSA comma-separated list of email addresses for users with access to /admin interface.
APPLICATION_DATACONTRACT_SPECIFICATIONSdcs,odcsThe data contract specifications you want to enable.
APPLICATION_SEARCH_ENABLEDfalseEnable or disable the AI search functionality. This requires to configure an AI model and an embedding model in the organization settings.
APPLICATION_ACCESSREQUEST_AI_ENABLEDfalseEnable or disable the data governance AI check on access requests. This requires to configure an AI model.
APPLICATION_COMPROMISEDPASSWORDCHECKER_ENABLEDfalseEnable or disable the compromised password checker (using the haveibeenpwned web service) when a user registered with a password.

Azure Entra ID

If you are using Azure Entra ID (formerly known as Azure Active Directory) for Single Sign-On (SSO), you can use the following environment variables:

Environment VariableValueDescription
SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_AZURE_ISSUER_URIssoIssuerUriThe OpenID Connect metadata document URI.
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_AZURESSO_CLIENT_IDssoClientIdThe Application (client) ID.
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_AZURESSO_CLIENT_SECRETssoClientSecretThe Secret Value.
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_AZURESSO_PROVIDERazureThe OAuth2 provider.
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_AZURESSO_AUTHORIZATION_GRANT_TYPEauthorization_codeThe authorization grant type.
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_AZURESSO_REDIRECT_URI{baseUrl}/{action}/oauth2/code/{registrationId}The redirect URI.
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_AZURESSO_CLIENT_AUTHENTICATION_METHODclient_secret_basicThe client authentication method.
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_AZURESSO_SCOPEopenid,profile,emailThe OAuth2 scopes.
APPLICATION_SSO_AZURE_HOSTS$WEBSITE_HOSTNAMEThe hostnames for SSO.

If you are using another SSO provider, please contact our support.

Azure AppServer

If you are deploying the application to Azure as App Service, you can use the following environment variables:

Environment VariableValueDescription
WEBSITES_ENABLE_APP_SERVICE_STORAGEfalseEnable or disable App Service storage.
DOCKER_REGISTRY_SERVER_URLghcr.ioThe Registry URL.
DOCKER_REGISTRY_SERVER_USERNAMEThe provided usernameThe Registry Username.
DOCKER_REGISTRY_SERVER_PASSWORDThe provided passwordThe Registry Password.

OpenTelemetry

For environment variables to configure observability, see the Observability page.