Replies: 1 comment
-
|
Hi, can you provide the 'docker-compose.yml' file? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I use
httpxinside a Docker container that was built with thehttp_proxyandhttp_proxyenvironment variables, I cannot ignore these variables when starting the container via docker-compose.I set the
no_proxyvariable when starting the container so that the container should ignore any proxies it was built with.httpxstill uses those proxies. To solve this I had to settrust_env=Falsein myAsyncClient.Is this expected behaviour? I thought that disabling the proxies in the docker-compose file would automatically tell
httpxto ignore them when making a request.Beta Was this translation helpful? Give feedback.
All reactions