IDEA configuration SpringBoot application profile startup parameters

Reference blog: https://blog.csdn.net/li396864285/article/details/83576829

As shown, for a plurality of configuration parameters to start the eureka, respectively:

--spring.profiles.active=eureka1

--spring.profiles.active=eureka2

Save and start. (Note that first stopped other services redeployment)

Guess you like

Origin www.cnblogs.com/sansheng93/p/11294061.html