db with env vars