java - Setting active profile and config location from command line in spring boot - Stack Overflow
When you run your application directly with java you can add parameters with the -D option
-Dspring.profiles.active=staging -Dspring.config.location=C:\ConfigRead full article from java - Setting active profile and config location from command line in spring boot - Stack Overflow
No comments:
Post a Comment