Spring Boot Setup Multi Profile Based on yaml

preview_player
Показать описание
In this video we will setup multi profile in springboot. This is very useful if you are developing applications in multiple environments such as development, staging, and production.

#java #springboot

Рекомендации по теме
Комментарии
Автор

Run maven script to Build jar : mvn clean install -DskipTests -P{profile}
example if you want to run in staging environment run this script below:
- mvn clean install -DskipTests -Pstaging

lemoncode
Автор

This video helped me to understand the correct syntax for writing the same using yaml file . Thank you so much for making such a helpfull video

hritikraj