Services.postgres.environment must be a mapping

I try to create a symfony project with docker; but I have this error: services.postgres.environment must be a mapping
My code file docker-compose.yml:

At first sight, this is not an indentation problem. What did I forget?
Thank you

The file is not saved. Are you sure this is the actual file that docker compose can see?

Oh my bad, the file is not saved. Thank you very much!