mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 23:57:42 +01:00
bb66358df8
* Fix migration script 1. port is string when parsed from configparser 2. remove index and db_user in if condition Signed-off-by: Qian Deng <dengq@vmware.com> * Add port to public_url Add port to public_url Signed-off-by: Qian Deng <dengq@vmware.com> * Customized value for notary and clair db config in notary and clair is hardcoded Signed-off-by: Qian Deng <dengq@vmware.com> * Add notary and clair db config in harbor.yml Add notary clair config to harbor.yml and fix related regression Signed-off-by: Qian Deng <dengq@vmware.com>
26 lines
721 B
Django/Jinja
26 lines
721 B
Django/Jinja
clair:
|
|
database:
|
|
type: pgsql
|
|
options:
|
|
source: postgresql://{{clair_db_username}}:{{clair_db_password}}@{{clair_db_host}}:{{clair_db_port}}/{{clair_db_name}}?sslmode={{clair_db_sslmode}}
|
|
|
|
# Number of elements kept in the cache
|
|
# Values unlikely to change (e.g. namespaces) are cached in order to save prevent needless roundtrips to the database.
|
|
cachesize: 16384
|
|
|
|
api:
|
|
# API server port
|
|
port: 6060
|
|
healthport: 6061
|
|
|
|
# Deadline before an API request will respond with a 503
|
|
timeout: 300s
|
|
updater:
|
|
interval: {{clair_updaters_interval}}h
|
|
|
|
notifier:
|
|
attempts: 3
|
|
renotifyinterval: 2h
|
|
http:
|
|
endpoint: http://core:8080/service/notifications/clair
|