Setup postgres for production