rewrite the PostgreSQL example using a Dockerfile, and add details to it

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Merge pull request #4034 from SvenDowideit/postgres-example

rewrite the PostgreSQL example using a Dockerfile, and add details to it