Spring profiles

Hi I’ve learned about the concept of Spring profiles, so I can configure different properties based on the environment my code is running on. But, how does Spring actually know which profile to activate? For example, I have local-docker, dev, prod environments. How does spring know to activate the local docker profile when running the application on local docker? Thanks

submitted by /u/BraveAtmosphere
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/c1gf2n9

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close