I have generated an spring API using jhipster. Right now I have two profile: application.yml and application-dev.yml
application.yml is for production but there is no configuration for database like in application-dev.yml.
Is this normal or from what takes this configuration for production?
Thanks
application.yml
contains the properties for default profile not for production, this is where you put the common properties. The production properties are in application-prod.yml
and usually should be externalized (ie not included in the jar)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.