add postgresql to dependancies and config yml file.