feat(healthcare): route NPPES/PECOS Playwright flows through residential SOCKS proxy
CMS healthcare portals (NPPES, PECOS, I&A) block datacenter IPs, so the healthcare browser automation needs to egress via the residential proxy on hg409y7ez04.sn.mynetname.net (username 'performancewest'). - undetected_browser: use_proxy now accepts an env-var name, so callers can select a domain-specific proxy. _proxy_config(proxy_env) reads it and falls back to UNDETECTED_PROXY_URL. Healthcare uses 'HEALTHCARE_PROXY_URL'. - probe_npi_undetected: launches with use_proxy='HEALTHCARE_PROXY_URL' when set. - npi_provider: documents that the (future) automated NPPES/PECOS flows must use the healthcare proxy. - Plumb HEALTHCARE_PROXY_URL (+ UNDETECTED_PROXY_URL fallback) through the ansible env template and docker-compose workers env. The credential itself is NOT in the repo. Set the full URL in the ansible vault as vault_healthcare_proxy_url: socks5://performancewest:<password>@hg409y7ez04.sn.mynetname.net:<port> Verified parsing + Playwright proxy-dict wiring with a unit test.
This commit is contained in:
parent
bd9a70607f
commit
17318f6e7d
5 changed files with 70 additions and 10 deletions
|
|
@ -107,6 +107,10 @@ services:
|
|||
- CRYPTO_SWEEP_ADMIN_EMAIL=${ADMIN_EMAIL:-ops@performancewest.net}
|
||||
- USAC_USERNAME=${USAC_USERNAME}
|
||||
- USAC_PASSWORD=${USAC_PASSWORD}
|
||||
# Residential SOCKS proxy for healthcare (NPPES/PECOS) Playwright flows.
|
||||
# Username "performancewest"; full URL set in .env via the ansible vault.
|
||||
- HEALTHCARE_PROXY_URL=${HEALTHCARE_PROXY_URL:-}
|
||||
- UNDETECTED_PROXY_URL=${UNDETECTED_PROXY_URL:-}
|
||||
- ANYTIME_MAILBOX_SIGNUP_EMAIL=${ANYTIME_MAILBOX_SIGNUP_EMAIL:-noreply@performancewest.net}
|
||||
- ANYTIME_MAILBOX_SIGNUP_PHONE=${ANYTIME_MAILBOX_SIGNUP_PHONE}
|
||||
- ANYTIME_MAILBOX_DEFAULT_PASSWORD=${ANYTIME_MAILBOX_DEFAULT_PASSWORD}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue