mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-30 06:03:45 +01:00
cb11540a14
Signed-off-by: sayaoailun <guojianwei007@126.com>
31 lines
1.1 KiB
Django/Jinja
31 lines
1.1 KiB
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}}
|
|
HARBOR_DATABASE_CONN_MAX_LIFETIME={{harbor_db_conn_max_lifetime}}
|
|
HARBOR_DATABASE_CONN_MAX_IDLE_TIME={{harbor_db_conn_max_idle_time}}
|