Quick look into how to set up Postgres with Docker for production with high availability and fault tolerance in about 100 lines of code.