Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

What is the way to use profiles to configure the environment-specific configuration with Spring Boot?

Use -Dspring.profiles.active={profileName} in  arguments
Use spring.profiles.active={profileName} in application.properties file
Source by www.edureka.co #
 
PREVIOUS NEXT
Tagged: #What #profiles #configure #configuration #Spring
ADD COMMENT
Topic
Name
7+9 =