If you want to test how RHDH would behave if deployed in a corporate proxy environment,
you can run podman compose or docker compose by merging both the compose.yaml and compose-with-corporate-proxy.yaml files.
Note that the order of the YAML files is important:
=== "Podman"
bash podman compose -f compose.yaml -f compose-with-corporate-proxy.yaml up -d
=== "Docker"
bash docker compose -f compose.yaml -f compose-with-corporate-proxy.yaml up -d
The compose-with-corporate-proxy.yaml file includes a specific Squid-based proxy container as well as an isolated network, such that:
- only the proxy container has access to the outside
- all containers part of the internal network need to communicate through the proxy container to reach the outside. This can be done with the
HTTP(S)_PROXYandNO_PROXYenvironment variables.