app configured to connect to postgres