title: Docker needs to be an object not '<class 'NoneType'>'
body: <p>i'm new in <code>Docker</code> and i'm trying to use docker with <code>Laravel</code>. i installed docker on <code>ubuntu</code> and this output is installation version of that:</p>
  <pre><code>Docker version 18.09.1, build 4c52b90
  </code></pre>
  <p>i created <code>docker-compose.yml</code> in project root and below is content of the file</p>
  <pre><code>version: '3.7'
  services:
    db:
      image: mysql:5.7
      restart: always
      ports: 
        - &quot;3306:3307&quot;
      environment: 
        MYSQL_DATABASE: 'homestead'
        MYSQL_USER: 'homestead'
        MYSQL_PASSWORD: 'secret'
        MYSQL_ALLOW_EMPTY_PASSWORD: 1
    app:
      build: 
        context: .
        dockerfile: .docker/Dockerfile
      image: 'Tcms'
      ports: 
        - &quot;8080:80&quot;
      volumes:
        - ./:/var/www/html
  </code></pre>
  <p>now when i try to run this command:</p>
  <pre><code>docker-compose up -d
  </code></pre>
  <p>i get this error:</p>
  <pre><code>ERROR: Top level object in './docker-compose.yml' needs to be an object not '&lt;class 'NoneType'&gt;'.
  </code></pre>
  <p>i'm not sure intended lines are correct, however i check that and i think that's correct</p>