Docker-compose build volume error

Hi all,

Im new in docker, when im trying to set up docker-compose.yml i faced the error message
“ERROR: In file ‘.\docker-compose.yml’, service ‘volumes’ must be a mapping not an array.”
So my volume line , looks like that —

version: ‘3.8’
services:
aws:
image: organs/awscli
environment:
AWS_ACCESS_KEY_ID: ******************
AWS_SECRET_ACCESS_KEY: ******************
AWS_REGION: eu-central-1
AWS_DEFAULT_REGION: eu-central-1
volumes:
- $PWD:/app
working_dir: /app

As i understood, i should specify exactly PWD, but im working on Hyper-V,
so i created Volume named “app” (local) but no advances

Can someone help to fix that please

Tnaks in advance