title: Invalid type in docker-compose volume
body: <p>I try to setup a <code>bind</code> volume in my <code>docker-compose</code> but I get the following error:</p>
  <pre><code>docker-compose up
  ERROR: The Compose file './docker-compose.yml' is invalid because:
  services.web.volumes contains an invalid type, it should be a string
  </code></pre>
  <p>My <code>docker-compose</code> file:</p>
  <pre><code>version: '3'
  services:
    web:
      #build: .
      image: fnndsc/fnndsc.babymri.org
      ports:
        - &quot;8060:8080&quot;
      volumes:
        - type: &quot;bind&quot;
          source: &quot;.&quot;
          target: &quot;/src/website&quot;
      labels:
        name: &quot;FNNDSC Web App&quot;
        role: &quot;FNNDSC Web App development server&quot;
  </code></pre>
  <p><strong>Versions:</strong></p>
  <blockquote>
  <pre><code>Docker version 17.03.1-ce, build c6d412e
  
  docker-compose version 1.12.0, build b31ff33
  </code></pre>
  </blockquote>
  <p>I tried many different combinations but nothing seems to work...</p>
  <p>Thanks!</p>