Nextcloud docker-compose issue. Newbie

Hello. I have starting to learn about docker and I want to run a nextcloud using the docker-compose file.

The docker-compose file I am using. I only specified the volumes which are folders I have created.

version: ‘2’

volumes:
nextcloud:/home/ahmed/Desktop/docker-storage/nextcloud
db:/home/ahmed/Desktop/docker-storage/db

services:
db:
image: mariadb
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD= anha1985
- MYSQL_PASSWORD= anha1985
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud

app:
image: nextcloud
ports:
- 8080:80
links:
- db
volumes:
- nextcloud:/var/www/html
restart: always

The error message that I have is.
ERROR: In file ‘./docker-compose.yml’, volume must be a mapping, not a string.

Please advice me.