Closed dogversioning closed 4 months ago
I thought this stuff was baked into python libraries (with code overrides allowed). Like, that blog post suggests you can just set:
export HTTP_PROXY='http://10.10.10.10:8000'
export HTTPS_PROXY='http://10.10.10.10:1212'
I'd hope that would work as-is...? If not, yeah let's fix that.
Oh ah -- you are thinking about how to drive the compose file. This is a docker-setup ticket, yeah?
Yeah - there's basically two best practices ways to do it in docker:
Does the cTAKES container also require any outbound access?
Does the cTAKES container also require any outbound access?
I believe so yes, because it downloads the UMLS database.
yeah, that might be a bit trickier to wrangle.
Pretty standard territory on this one - https://www.scrapingbee.com/blog/python-requests-proxy/ , among other resources explaining the same - we just need to decide how we want to inject it (perhaps a .ENV file).