mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-03 07:34:35 +01:00
7eebbeebdf
add jobservice metrics add redis client Signed-off-by: DQ <dengq@vmware.com>
28 lines
971 B
Django/Jinja
28 lines
971 B
Django/Jinja
LOG_LEVEL={{log_level}}
|
|
HARBOR_EXPORTER_PORT=8080
|
|
HARBOR_EXPORTER_METRICS_PATH=/metrics
|
|
HARBOR_EXPORTER_METRICS_ENABLED=true
|
|
HARBOR_EXPORTER_MAX_REQUESTS=30
|
|
HARBOR_EXPORTER_CACHE_TIME=23
|
|
HARBOR_EXPORTER_CACHE_CLEAN_INTERVAL=14400
|
|
HARBOR_METRIC_NAMESPACE=harbor
|
|
HARBOR_METRIC_SUBSYSTEM=exporter
|
|
HARBOR_SERVICE_HOST=core
|
|
HARBOR_REDIS_URL={{redis_url_js}}
|
|
HARBOR_REDIS_NAMESPACE=harbor_job_service_namespace
|
|
HARBOR_REDIS_TIMEOUT=3600
|
|
{%if internal_tls.enabled %}
|
|
HARBOR_SERVICE_PORT=8443
|
|
HARBOR_SERVICE_SCHEME=https
|
|
{% else %}
|
|
HARBOR_SERVICE_PORT=8080
|
|
HARBOR_SERVICE_SCHEME=http
|
|
{% endif %}
|
|
HARBOR_DATABASE_HOST={{harbor_db_host}}
|
|
HARBOR_DATABASE_PORT={{harbor_db_port}}
|
|
HARBOR_DATABASE_USERNAME={{harbor_db_username}}
|
|
HARBOR_DATABASE_PASSWORD={{harbor_db_password}}
|
|
HARBOR_DATABASE_DBNAME={{harbor_db_name}}
|
|
HARBOR_DATABASE_SSLMODE={{harbor_db_sslmode}}
|
|
HARBOR_DATABASE_MAX_IDLE_CONNS={{harbor_db_max_idle_conns}}
|
|
HARBOR_DATABASE_MAX_OPEN_CONNS={{harbor_db_max_open_conns}} |