Home / cs-notes / Architecture / Components / Spring / Boot / Configurations / Profile / use specific profile
main
–spring.profiles.active=prod
plugin start
spring-boot:run -Drun.profiles=prod
jar
java -jar xx.jar –spring.profiles.active=prod
Home / cs-notes / Architecture / Components / Spring / Boot / Configurations / Profile / use specific profile
–spring.profiles.active=prod
spring-boot:run -Drun.profiles=prod
java -jar xx.jar –spring.profiles.active=prod