database config with env vars