Show pageBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Development and Production application.properties ====== It is very common to have properties file for local, dev, and prod environment. Mostly use it to handle the database connection setting. To do this: - In the main application.properties file add a line ''spring.profiles.active=local'' - Create the file ''application-local.properties'' file. - Put your local specific properties in that file. - You can also use this same logic to create ''application-dev.properties'', or ''application-prod.properties'', or whatever you name it as soon as you set the ''spring.profiles.active'' correctly springboot/development_and_production_application.properties.txt Last modified: 2021/01/05 11:17by chongtin