title: Externalized Configuration in Spring boot
body: <p>I have a external configuration file(out side jar). I try to run and expected
  that value in external file will override value in internal file(<code>application.properties</code> in <code>\resource\</code> - in jar file).
  I read <a href="https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-external-config" rel="nofollow noreferrer">Documentation</a> and try this:</p>
  <pre><code>java -jar ccgame-1.0.jar --spring.config.location=classpath:/application.properties,file:/production.properties
  </code></pre>
  <p>This not working.</p>
  <p>My jar file at <code>\target\</code> directory and my <code>production.properties</code> too(at <code>\target\</code>)</p>
  <p>How can I resolve my problem?</p>
  <ul>
  <li>Where should I put external config file ?</li>
  <li>And what I have to do ?</li>
  </ul>