title: How can I set parameters from docker command line to configure spring boot application?
body: <p>I have my spring boot application with a yml to configure it inside a docker containter.
  Something like that:</p>
  
  <pre><code> spring:   application:
     name: micro-example
     config:
       uri: ${vcap.services.config-service.credentials.uri:http://xxx.xxx.xx.73:8888}
  </code></pre>
  
  <p>As you can see, there is an ip hardcoded in my config, that is a bad idea, because the compililation is just for a server.
  Does a way exist to externalize the ip, or set it from a docker command line or a better idea?</p>