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
|
|
|
|
realm: $ui_url/service/token
|
|
|
|
rootcertbundle: /etc/registry/root.crt
|
|
|
|
service: harbor-registry
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
endpoints:
|
2018-01-03 11:28:22 +01:00
|
|
|
- name: harbor
|
|
|
|
disabled: false
|
|
|
|
url: http://ui:8080/service/notifications
|
|
|
|
timeout: 3000ms
|
|
|
|
threshold: 5
|
|
|
|
backoff: 1s
|