Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 998 Bytes

File metadata and controls

20 lines (14 loc) · 998 Bytes

Simulated Proxy Setup

Testing RHDH in a simulated corporate proxy setup

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.

Example with podman compose (note that the order of the YAML files is important):

podman 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:

  1. only the proxy container has access to the outside
  2. 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)_PROXY and NO_PROXY environment variables.