title: Spring boot and configuration profile
body: <p>I have a Spring Boot application with some configuration.
  I want to specify different configuration values, for <code>dev</code> and <code>production</code>.
  My <code>application.properties</code> file look like this:</p>
  
  <pre><code>spring.datasource.url=jdbc:mysql://devhost:devport/devschema
  spring.datasource.username=devuser
  spring.datasource.password=mypwd
  spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  </code></pre>
  
  <p>This file is in my git repo on Openshift. Everytime I commit, Openshift start to deploy the application, so I need the <code>application.properties</code> with the correct values.
  Is it possible to use something like profiles to change the configuration?</p>