set db settings as env vars