title: YAML Error ERROR: while parsing a block mapping in “<unicode string>”,
body: <p>im trying to compose my docker with this YAML:</p>
  <pre><code>web:
    image: php:7.2-apache
    environment:
      - ALLOW_OVERRIDE=true
    ports:
      - &quot;80:80&quot;
    links:
      - db
    volumes:
      - ./app:/var/www/html/
  
  db:
    image: mariadb
    restart: always
    volumes:
      - ./mysql:/var/lib/mysql
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_USER: admin
      MYSQL_PASSWORD: test
      MYSQL_DATABASE: database
    ports:
      - &quot;889:3306&quot;
  
  
   phpmyadmin:
     image: phpmyadmin
     container_name: phpmyadmin
     environment:
       - PMA_ARBITRARY=1
     restart: always
     ports:
       - 8080:80
     volumes:
       - /sessions
     links:
       - db
  </code></pre>
  <p>But when i execute the docker-compose this error appears:</p>
  <p>ERROR:</p>
  <pre><code>while parsing a block mapping
    in &quot;&lt;unicode string&gt;&quot;, line 1, column 1:
      web:
      ^
  expected &lt;block end&gt;, but found '&lt;block mapping start&gt;'
    in &quot;&lt;unicode string&gt;&quot;, line 26, column 2:
       phpmyadmin:
       ^
  </code></pre>
  <p>Y don't really know how to solve :( I saw in this website that it's maybe because of the writting but i dont know how it should be</p>