Profile-Specific Properties

Studio can read application properties from profile-specific files, if property is set in the main file. It allows you to have a separate profile for development environment.

The example below shows how to create a dev profile defining properties for the database connection and use it as the default for your development environment. = dev

# ...
main.datasource.url = jdbc:postgresql://localhost/onboarding
main.datasource.username = root
main.datasource.password = root

After making these changes, the Data Store Properties editor in Studio will read and write properties to and from the file instead of

You can exclude the file from your version control system (VCS) to prevent sharing connection settings. When running the application in production, a different profile can be specified using a command-line argument or an environment variable.