Skip to main content
In order for the cached data to survive service restarted, or shared across multiple instances of the Sidecar service, you can use Redis as the cache layer by providing the REDIS_* environment variables, replacing <tag> with the latest version in the ECR Public Gallery:
docker run -it -p 80:80 \
    -e SERVER_API_KEY="<SERVER_API_KEY>" \
    -e REDIS_ENVIRONMENT_PREFIX="production" \
    -e REDIS_HOST="localhost" \
    public.ecr.aws/stigg/sidecar:<tag>
When Redis is configured, you must also run the Persistent Cache Service in a separate process to keep entitlements and usage data in Redis up to date. If you don’t configure Redis, you can simply run the Sidecar by itself with in-memory caching only.