How to Connect PgAdmin 4 and PostgreSQL Server on Docker Container

How to Connect PgAdmin 4 and PostgreSQL Server on Docker Container