Get db connection details from env vars