Spring Boot - Application Configuration
Which of the following is the correct way to provide a default value for an environment variable
PORT in application.yml?PORT in application.yml?${VAR_NAME:default} to provide defaults for environment variables.server:\n port: ${PORT:8080} to set port with default 8080.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions