Installation de Docker sur Mac, échoue à mettre à jour app.yml

I’m using the link above to run discourse on my Mac.

Can anyone explain how can I connect to the postgresql server running inside docker? I’ve tried to map the port 5432 but weren’t able to connect using pgadmin.

Thanks in advance