This proxy forwards Rox SDK requests to CB FM service It is useful in case servers or clients (that are using CB FM SDKs) do not have internet access, are behind a firewall, clients without CORS permissions, or if full control over network requests is needed
docker's (internal) http port
docker's (internal) https port
for https need to set a valid certificate file, and key file To disable https set this variable to true.
certificate file location
certificate key file location
basic authentication user (between the SDK and the proxy - see Docs how to set on SDK side)
basic authentication password (between the SDK and the proxy - see Docs how to set on SDK side)
the logs level to write see http-proxy-middleware docs, currently: 'debug' | 'info' | 'warn' | 'error' | 'silent'
docker run -e PORT=<internal http port> -e HTTPS_PORT=<internal https port> -e USER=<basic auth user> -e PASSWORD=<basic auth password> -e CERTIFICATE=<path to certification file> -e CERTIFICATE_KEY=<path to certification key file> -v <local path>:<docker path> -p:<external http port>:<internal http port> -p:<external https port>:<internal https port> -d rollout/simple-proxy
docker run -p:80:8080 -d rollout/simple-proxy
docker run -e PORT=9000 -e HTTPS_PORT=9090 -v ~/localPath:/dockerInternalPath -p:80:9000 -p:443:9090 -d rollout/simple-proxy
docker run -e PORT=9000 -e HTTPS_PORT=9090 -e USER=username -e PASSWORD=somePassword -e CERTIFICATE=/usr/src/app/mySsl/ser.cert -e CERTIFICATE_KEY=/usr/src/app/mySsl/ser.key -v ~/localPath:/usr/src/app/mySsl -p:80:9000 -p:443:9090 -d rollout/simple-proxy
Content type
Image
Digest
sha256:20d87aa66…
Size
43.6 MB
Last updated
over 3 years ago
docker pull rollout/simple-proxy