Advanced Cloudbreak Configuration
Also available as:
PDF

Configure Cloudbreak to use a proxy

Use the following steps if you would like to set up Cloudbreak to use your proxy.

Steps

  1. After downloading and installing Cloudbreak, configure the Docker daemon to use proxy by adding the following to the Docker service file:
    Environment="HTTP_PROXY=http://my-proxy-host:my-proxy-port" "NO_PROXY=localhost,127.0.0.1"

    For example:

    vi /etc/systemd/system/docker.service -> Environment="HTTP_PROXY=http://10.0.2.237:3128" "NO_PROXY=localhost,127.0.0.1"

    For more information refer to Docker documentation.

  2. Ensure that ports 9443 and 8443 are handled as SSL connections in the proxy config.
  3. Configure proxy settings in the Profile file by setting the following variables:
    HTTP_PROXY_HOST=your-proxy-host
    HTTPS_PROXY_HOST=your-proxy-host
    PROXY_PORT=your-proxy-port
    PROXY_USER=your-proxy-user
    PROXY_PASSWORD=your-proxy-password
    #NON_PROXY_HOSTS
    #HTTPS_PROXYFORCLUSTERCONNECTION=false
    For example:
    HTTP_PROXY_HOST=10.0.2.237
    HTTPS_PROXY_HOST=10.0.2.237
    PROXY_PORT=3128
    PROXY_USER=squid
    PROXY_PASSWORD=squid
    #NON_PROXY_HOSTS
    #HTTPS_PROXYFORCLUSTERCONNECTION=false