2017-09-27 06:56:57 +02:00
|
|
|
version: 0.1
|
|
|
|
log:
|
|
|
|
level: debug
|
|
|
|
fields:
|
|
|
|
service: registry
|
|
|
|
storage:
|
2018-01-03 11:28:22 +01:00
|
|
|
cache:
|
|
|
|
layerinfo: redis
|
2018-01-07 10:23:18 +01:00
|
|
|
$storage_provider_info
|
2018-01-03 11:28:22 +01:00
|
|
|
maintenance:
|
|
|
|
uploadpurging:
|
|
|
|
enabled: false
|
|
|
|
delete:
|
|
|
|
enabled: true
|
2017-09-27 06:56:57 +02:00
|
|
|
redis:
|
|
|
|
addr: $redis_url
|
|
|
|
db: 0
|
|
|
|
dialtimeout: 10ms
|
|
|
|
readtimeout: 10ms
|
|
|
|
writetimeout: 10ms
|
|
|
|
pool:
|
|
|
|
maxidle: 16
|
|
|
|
maxactive: 64
|
|
|
|
idletimeout: 300s
|
|
|
|
|
|
|
|
http:
|
2018-01-03 11:28:22 +01:00
|
|
|
addr: :5000
|
|
|
|
secret: placeholder
|
|
|
|
debug:
|
|
|
|
addr: localhost:5001
|
2017-09-27 06:56:57 +02:00
|
|
|
auth:
|
|
|
|
token:
|
|
|
|
issuer: harbor-token-issuer
|
2018-03-15 07:21:53 +01:00
|
|
|
realm: $public_url/service/token
|
2017-09-27 06:56:57 +02:00
|
|
|
rootcertbundle: /etc/registry/root.crt
|
|
|
|
service: harbor-registry
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
endpoints:
|
2018-01-03 11:28:22 +01:00
|
|
|
- name: harbor
|
|
|
|
disabled: false
|
2018-03-15 07:21:53 +01:00
|
|
|
url: $ui_url/service/notifications
|
2018-01-03 11:28:22 +01:00
|
|
|
timeout: 3000ms
|
|
|
|
threshold: 5
|
|
|
|
backoff: 1s
|