docker-compose.yml
file.
HTTP_PROXY
and/or HTTPS_PROXY
environment variables to the repo_worker
and repo_api
containers. For example:
conda repo mirror
in the cli, or /channel/mirrors
via the REST API. This will
allow you to specify the proxy address to be used for the specific mirror:
The following example shows multiple mirrors with different proxy users.
It assumes a proxy is available at http://proxy:8899 with basic auth.
If you are using a terminating SSL proxy, see the Terminating SSL proxy section.
Here is a second mirror with a different user. You can also use multiple
proxies in the same manner, for example @another.proxy.server
instead of @proxy
.
repo_api
and repo_worker
containers.
Certs are stored in /conda/ssl/cacert.pem
.
Use the following bash function to update existing containers with the root CA for the proxy: