command
module
Version:
v0.0.0-...-e6ecb67
Opens a new window with list of versions in this module.
Published: May 19, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 22
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
ECR Proxy Conf
Conf generator for Nginx ECR Proxy
Config
Environment Variables
NAME |
DESCRIPTION |
AWS_REGION |
AWS Region (required) |
AWS_ROLE_ARN |
AWS Role ARN to assume (optional) |
CONF_HEALTH_PORT |
listen port for Health Checks (default: 8080 ) |
CONF_PROXY_PORT |
listen port for nginx (default: 80 ) |
CONF_PROXY_RESOLVER |
nginx resolver config (default: 8.8.8.8 ) |
CONF_PROXY_CACHE_KEY |
nginx caching config (default: $uri ) |
CONF_PROXY_CACHE_MAX_SIZE |
nginx cache max size (default: 75g |
CONF_PROXY_CACHE_PATH |
nginx cache path (default: /cache/cache ) |
CONF_TARGET_PATH |
target path for nginx conf (default: /etc/nginx/nginx.conf ) |
CONF_PID_PATH |
nginx pid path (default: /etc/nginx/nginx.pid ) |
CONF_TEMPLATE_DIR |
template dir for nginx conf (default: ./conf-templates ) |
CONF_TEMPLATE_FILE |
template for nginx conf (default: nginx.tpl.conf ) |
CONF_SSL_KEY_PATH |
path to SSL key (default: /etc/nginx/ssl/key.pem ) |
CONF_SSL_CERT_PATH |
path to SSL cert (default: /etc/nginx/ssl/certificate.pem ) |
CONF_INTERVAL |
interval to fetch new ECR token (default: 6h ) |
CONF_MAX_RETRIES |
max retries when fetch ECR token failed (default: 10 ) |
LOG_LEVEL |
logrus log level |
Credits
Heavily based on:
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.