title: How to bind datasource property from env variables Spring boot
body: <p>How to bind datasource property from env variables Spring boot</p>
  
  <p>I have some property</p>
  
  <pre><code>spring.datasource.url=
  spring.datasource.username=
  spring.datasource.password=
  </code></pre>
  
  <p>and i need to fill db connection parameters from env variable</p>
  
  <pre><code>java -jar demo-0.0.1-SNAPSHOT.jar -DdbUrl=URL -DdbUser=USER -DdbPassword=PASSWORD
  </code></pre>
  
  <p>how can i do this?
  binding <code>like spring.datasource.url=${URL}</code>  doesnt works(</p>