Docker-Installation auf Mac, Aktualisierung von app.yml schlägt fehl

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