Adrian
Adrian

Reputation: 1025

Jhipster spring production profile

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

Upvotes: 0

Views: 45

Answers (1)

Gaël Marziou
Gaël Marziou

Reputation: 16284

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 (i.e. not included in the jar)

Upvotes: 1

Related Questions