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.propertiesfile, OS environment variables or Java system properties provided in the command line.
local.app.propertiesfile must be located at application home. It is the current working directory if you haven’t specified the
-Dapp.home=some_pathcommand line argument.