SpringBoot Day2: Profiles
2 min readFeb 23, 2019
The benefits for Profiles
Flexible configuration based on environment
valuable in real-world, multi-environment deployments
Good for live vs. cold prod domains
Using application.yml
using yml instead of properties
Package
run mvn clean package
Run with dev environment
Check the result in port 8000
Run with test environment
Check the result in port 9000