2021-03-30 08:12:59 +02:00
|
|
|
LOG_LEVEL={{log_level}}
|
2020-11-17 13:14:11 +01:00
|
|
|
HARBOR_EXPORTER_PORT=8080
|
|
|
|
HARBOR_EXPORTER_METRICS_PATH=/metrics
|
|
|
|
HARBOR_EXPORTER_METRICS_ENABLED=true
|
|
|
|
HARBOR_EXPORTER_MAX_REQUESTS=30
|
2021-03-30 08:12:59 +02:00
|
|
|
HARBOR_EXPORTER_CACHE_TIME=23
|
2020-11-30 12:50:52 +01:00
|
|
|
HARBOR_EXPORTER_CACHE_CLEAN_INTERVAL=14400
|
2020-11-17 13:14:11 +01:00
|
|
|
HARBOR_METRIC_NAMESPACE=harbor
|
|
|
|
HARBOR_METRIC_SUBSYSTEM=exporter
|
|
|
|
HARBOR_SERVICE_HOST=core
|
2021-03-30 08:12:59 +02:00
|
|
|
HARBOR_REDIS_URL={{redis_url_js}}
|
|
|
|
HARBOR_REDIS_NAMESPACE=harbor_job_service_namespace
|
|
|
|
HARBOR_REDIS_TIMEOUT=3600
|
2020-11-17 13:14:11 +01:00
|
|
|
{%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}}
|
2022-11-30 12:08:08 +01:00
|
|
|
HARBOR_DATABASE_MAX_OPEN_CONNS={{harbor_db_max_open_conns}}
|
|
|
|
HARBOR_DATABASE_CONN_MAX_LIFETIME={{harbor_db_conn_max_lifetime}}
|
|
|
|
HARBOR_DATABASE_CONN_MAX_IDLE_TIME={{harbor_db_conn_max_idle_time}}
|