title: yaml.parser.ParserError: while parsing a block mapping
body: <pre><code>ERROR: yaml.parser.ParserError: while parsing a block mapping
    in "././tmp/statelesscs_compose.yml", line 1, column 1
  expected &lt;block end&gt;, but found ':'
    in "././tmp/statelesscs_compose.yml", line 4, column 1
  docbase installation completed
  </code></pre>
  
  <p>while executing the below yml file.can you please suggest me how to resolve this.</p>
  
  <p>Example usage:</p>
  
  <pre><code>docker-compose -f my.yml up
  </code></pre>
  
  <p>also let me know is there any tool for formatting yml file so that i can easily modify</p>
  
  <p>my.yml:</p>
  
  <pre><code>version: '2'
  services:
    ubuntupgcsstateless:
      image: ubuntupgstatelesscsimage
      environment:
        - EXTERNAL_IP=10.31.86.164
        - EXTERNALDB_IP=10.31.86.165
        - EXTERNALDB_ADMIN_USER=postgres
        - EXTERNALDB_ADMIN_PASSWORD=password
        - DOCBASENAME=DocbaseName
      hostname:
        "ubuntupgcsstateless"
      container_name:
        "ubuntupgcsstateless"
      ports:
       - "1689:1689"
       - "1690:1690"
       - "50000:50000"
       - "50001:50001"
       - "9080:9080"
       - "9082:9082"
      volumes:
       - DocbaseName_data:/home/dmadmin/dctm/data
       - DocbaseName_dba:/home/dmadmin/dctm/dba
       - DocbaseName_share:/home/dmadmin/dctm/share
       - DocbaseName_dfc:/home/dmadmin/dctm/config
       - DocbaseName_xhive_storage:/home/dmadmin/dctm/xhive_storage
       - DocbaseName_mdserver:/home/dmadmin/dctm/wildfly9.0.1/server/DctmServer_MethodServer
      privileged: true
  volumes:
   DocbaseName_data:
   DocbaseName_dba:
   DocbaseName_share:
   DocbaseName_dfc:
   DocbaseName_xhive_storage:
   DocbaseName_mdserver:
  </code></pre>