configuring profile specific spring-cloud-consul properties
<p>I am using <code>spring-cloud-starter-consul-config'. For this I defined my properties in</code>bootstrap.yml<code>. But I need to use profile specific consul properties which is not working in</code>bootstrap.yml`.</p>

<p>Also I need to use custom property file instead of <code>bootstrap.yml</code> so that i can load this custom file using <code>@PropertySource</code>. Any idea?</p>

<pre><code>@SpringBoogApplication
@EnableAutoconfiguration
public class myApplication {
}
</code></pre>

<p>bootstrap.yml</p>

<pre><code>environments:
  dev:
      spring:
        cloud:
          consul:
            host: dev-consul
            port: 8500
</code></pre>