title: Typesafe Config overriding values from external file
body: <p>I have all my configuration set into application.conf which locates under src/main/resources. and it works fine when I run my app in production mode. </p>
  
  <pre><code>val config = ConfigFactory.load()
  </code></pre>
  
  <p>In some certain situation when I run my app in docker container and I need to override about 30 of properties. </p>
  
  <p>When I add </p>
  
  <p><code>-Dconfig.file="/etc/deployed.conf"</code> </p>
  
  <p>it excludes all original properties which contains "application.conf" and are not overriden in "deployed.conf".</p>
  
  <p>Is there any way to solve this issue?</p>
  
  <p><strong>Update:</strong> Will </p>
  
  <pre><code>val myCfg =  ConfigFactory.parseFile(new File("etc/deployed.conf"))
  val config = ConfigFactory.load().withFallback(myCfg)
  </code></pre>
  
  <p>override values in application.conf and will not throw any exception if this file does not exist?</p>