appliance: Add DATABASE_URL to postgresql resource env

I implement setting `DATABASE_URL` for simplifing connectiong app to postgresql (See #142)
Is my code consistent with Flynn's roadmap and architecture ?