2018-11-15 04:09:57 +01:00
|
|
|
clair:
|
|
|
|
database:
|
|
|
|
type: pgsql
|
|
|
|
options:
|
2019-05-10 04:44:05 +02:00
|
|
|
source: postgresql://{{clair_db_username}}:{{clair_db_password}}@{{clair_db_host}}:{{clair_db_port}}/{{clair_db_name}}?sslmode={{clair_db_sslmode}}
|
2018-11-15 04:09:57 +01:00
|
|
|
|
|
|
|
# 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:
|
2019-05-10 04:44:05 +02:00
|
|
|
interval: {{clair_updaters_interval}}h
|
2018-11-15 04:09:57 +01:00
|
|
|
|
|
|
|
notifier:
|
|
|
|
attempts: 3
|
|
|
|
renotifyinterval: 2h
|
|
|
|
http:
|
|
|
|
endpoint: http://core:8080/service/notifications/clair
|