Switch to using the official postgresql image
Mount the volume for postgres data