From the course: Spring Boot 2.0 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Spring Profiles in Boot
From the course: Spring Boot 2.0 Essential Training
Spring Profiles in Boot
- [Narrator] In real-world deployments, profiles can be one of the critical components of a spring application, and spring boot is no different. So let's talk for a moment about why profiles can be so important. So again, why our profiles are so important when we're dealing with it? Profiles give you the ability to flex your configuration based on the environment that the code is deployed to. It's really valuable in real-world, especially where you have many multi environment deployments. So thinking about the dev task, maybe a stage environment, a pre-prod and a prod, all of those environments may have a little bit different settings when it comes to the components that you're going to consume, and profiles in spring give you the power to do that without creating multiple containers. Finally, another use case that's not so common but is really very valuable is if you are running two different production domains.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Booting from the web4m 20s
-
(Locked)
Understanding the project3m 41s
-
(Locked)
Understanding auto-configuration4m 49s
-
(Locked)
Configuration in Spring Boot5m 57s
-
(Locked)
Spring Profiles in Boot5m 54s
-
(Locked)
Building Spring Boot applications2m 48s
-
(Locked)
Containerizing Spring Boot applications7m 20s
-
-
-
-
-