External app.properties for UberJar

I know that the same question was raised in App.Properties for UberJar Deployment - CUBA.Platform
But links there are invalid so could you please provide solution or actual documentation about external app.properties for app created with UberJar?

Check Specifying deployment-time application properties in UberJAR Deployment - CUBA Platform. Developer’s Manual :

It is possible to set application properties in the deployment environment, specifying values which are not available at the time when the application is built (e.g. for security reasons).
You can do it using local.app.properties file, OS environment variables or Java system properties provided in the command line.
The local.app.properties file must be located at application home. It is the current working directory if you haven’t specified the -Dapp.home=some_path command line argument.

1 Like