To set up Postgres in Docker use this Docker Compose file
We are going to focus on a Docker Single Node Install.