Skip to the content.

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