moved env var to 'env' section of yaml
corrected postgres user account