an nginx image configured to act as a proxy for ECR repository The container will renew the aws token every 6 hours.
set the environment variables:
AWS_KEY
AWS_SECRET
REGION
alternativly bind a volume containing ini file with these values, by default the file path should be /root/.aws/config
you can customize the path by passing the environment variable
AWS_CONFIG_FILE
optionally you can add the security control directives to a file and add a volume to bind it to the container then the container will configure nginx to use these security control directives. you will need to set the environment variable
SECURITY_CONTROL_CONFIGS
RENEW_TOKEN - optional, duration to renew the token. default 6h
REGISTRY_ID - optional, used for cross account access