title: Create two influxdb from docker compose YAML file
body: <p>I want to create two database while running <code>docker-compose up</code> command.
  Below is the solution I have tried but didn't worked</p>
  
  <pre><code>version: '3.2'
  services:
    influxdb:
      image: influxdb
      env_file: configuration.env
      ports:
        - '8086:8086'
      volumes:
        - 'influxdb:/var/lib/influxdb'
      environment:
        - INFLUXDB_DB=testDB
      command: sh -c Sample.sh
  </code></pre>
  
  <p>Error which I am getting <code>influxdb_1_170f324e55e3 | sh: 1: Sample.sh: not found</code>
  Inside Sample.sh I have curl command which when executed standalone creates another db.</p>