Spring Boot dev, stg, pro
application.yml is common application setting for Spring Boot.
We want to use config setting according to development, staging, production, others.
For example, database connection, file location, etc…
Spring boot prepares separate settings
spring: profiles: active: dev --- spring: profiles: dev --- spring: profiles: stg --- spring: profiles: pro --- spring: profiles: heroku
First 3 lines are current active setting. dev is active setting.
If you want to use other settings, you can change first part.
, you can add settings according to profiles. The example is stg, pro, heroku.