title: Spring Boot - How to configure Environment Variables?
body: <p>I want to be able to specify Environment Variables in my Spring Boot Application. I have an external library that I'm using that requires environment variables, and the values to those variables will change according to the environment where we are deploying. </p>
  
  <p>For example, in application.properties of my packaged spring boot jar "myapp-boot-packaged.jar", I add the following property:</p>
  
  <p>foo=bar</p>
  
  <p>The equivalent for java -Dfoo=bar -jar myapp-boot-packaged.jar</p>