mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-06 02:31:06 +01:00
5f80fe7b8a
Signed-off-by: Qian Deng <dengq@vmware.com>
26 lines
650 B
Django/Jinja
26 lines
650 B
Django/Jinja
clair:
|
|
database:
|
|
type: pgsql
|
|
options:
|
|
source: postgresql://{{username}}:{{password}}@{{host}}:{{port}}/{{dbname}}?sslmode=disable
|
|
|
|
# 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: {{interval}}h
|
|
|
|
notifier:
|
|
attempts: 3
|
|
renotifyinterval: 2h
|
|
http:
|
|
endpoint: http://core:8080/service/notifications/clair
|