Sign inSign up

vualto/cpix-proxy

By vualto

•Updated 6 months ago

Image
0

100K+

vualto/cpix-proxy repository overview

⁠CPIX reverse proxy

  • Adds API-KEY authentication header
  • 200 201 301 302 cache 5 minutes
  • 400 401 403 404 500 502 503 cache 1 minutes
⁠build and publish
docker build -t vualto/cpix-proxy:<version> .
docker push vualto/cpix-proxy:<version>
⁠usage
⁠optional env vars
  • API_KEY : client API key

If the API_KEY is not specified at run time then the API_KEY will need to be added as a header to the request made to the proxy.

  • BASE_URL : proxy reverse base URL, default https://cpix.vudrm.tech

  • BASE_PATH : base url path, e.g. /v1/cpix/a-client/, default is an empty string

  • DNS_RESOLVER_IP : the IP of the DNS resolver to use, default 8.8.8.8

  • CACHE_VALID_MINUTES : the number of minutes valid cache is used, default 5

  • CACHE_KEY : the proxy cache key to use, e.g. $scheme$proxy_host, default $scheme$proxy_host$uri$is_args$args

If CACHE_KEY is set CACHE_ON_START_END is ignored.

  • CACHE_ON_START_END : use start and end query params in proxy cache key, default true
docker run -d -p 9876:80 -e API_KEY=<client-api-key> vualto/cpix-proxy:<version>
⁠unified streaming packaging examples

proxy deployed locally :

mp4split --cpix=http://localhost:9876/v1/cpix/testClient/testContentId -o live.isml

proxy deployed elsewhere :

mp4split --cpix=https://cpix-edge-proxy/v1/cpix/testClient/testContentId -o live.isml

Tag summary

Content type

Image

Digest

sha256:2c09b16aa…

Size

4.9 MB

Last updated

about 1 year ago

docker pull vualto/cpix-proxy