title: Provisioning multiple datasources in grafana
body: <p>I have able to import a datasource &amp; dashboard while building docker container for grafana. I tried creating two separate datasource.yml file (For example: datasoure1.yml and datasource2.yml) and copied in /etc/grafana/provisioning/datasources but getting the below error.</p>
  
  <pre><code>lvl=warn msg="[Deprecated] the datasource provisioning config is outdated. please upgrade" logger=provisioning.datasources filename=/etc/grafana/provisioning/datasources/datasource1.yml
  grafana_1_417873282a1 | t=2019-10-01T03:51:49+0000 
  lvl=warn msg="[Deprecated] the datasource provisioning config is outdated. please upgrade" logger=provisioning.datasources filename=/etc/grafana/provisioning/datasources/datasource2.yml
  grafana_1_417873282a1 | t=2019-10-01T03:51:49+0000 lvl=eror msg="Server shutdown" logger=server reason="Service init failed: Datasource provisioning error: datasource.yaml config is invalid. Only one datasource per organization can be marked as default"
  </code></pre>
  
  <p>Any hint how I can achieve to have multiple datasources &amp; dashboards?</p>
  
  <p>datasource1.yml</p>
  
  <pre><code>datasources:
  -  access: 'proxy'                       # make grafana perform the requests
     editable: true                        # whether it should be editable
     is_default: true                      # whether this should be the default DS
     name: 'test1'                        # name of the datasource
     org_id: 1                             # id of the organization to tie this datasource to
     type: 'influxdb'                      # type of the data source
     url: 'http://&lt;ip-address&gt;:8086'       # url of the prom instance
     database: 'db1'
     version: 1                            # well, versioning
  </code></pre>
  
  <p>datasource2.yml</p>
  
  <pre><code>datasources:
  -  access: 'proxy'                       # make grafana perform the requests
     editable: true                        # whether it should be editable
     is_default: true                      # whether this should be the default DS
     name: 'test2'                        # name of the datasource
     org_id: 1                             # id of the organization to tie this datasource to
     type: 'influxdb'                      # type of the data source
     url: 'http://&lt;ip-address&gt;:8086'       # url of the prom instance
     database: 'db2'
     version: 1                            # well, versioning
  </code></pre>