setting db properties with environment variables