title: yml docker-compose error mapping values are not allowed here
body: <p>I try to learn about container, but i have a problem with my docker-compose.yml file, after i run the docker compose up, i always get the same error: </p>
  
  <blockquote>
    <p>"ERROR: yaml.scanner.ScannerError: mapping values are not allowed
    here"</p>
  </blockquote>
  
  <p>even if i changed the mount path to docker volume, i got the same error, this is my <code>yml</code> file</p>
  
  <pre><code>version: "3"
  
  services:
      database:
          image: mariadb
          ports: 
              - "3260:3260"
          volumes:
              - /home/randy/Desktop/Latihan/wordpress-mariadb/mariadb:var/lib/mysql
           environment:
              MYSQL_ROOT_PASSWORD: root
  
      wordpress:
          image: wordpress
          ports:
              - "2000:80"
          volumes:
              - /home/randy/Desktop/Latihan/wordpress-mariadb/wordpress:/var/www/html
          environment:
              WORDPRESS_DB_PASSWORD: root
          depends_on:
              - database
          links:
              - database
  </code></pre>