harbor/make/common/templates/registry/config_ha.yml

38 lines
636 B
YAML
Raw Normal View History

version: 0.1
log:
level: debug
fields:
service: registry
storage:
2018-01-03 11:28:22 +01:00
cache:
layerinfo: redis
$storage_provider_info
2018-01-03 11:28:22 +01:00
maintenance:
uploadpurging:
enabled: false
delete:
enabled: true
redis:
addr: $redis_url
db: 1
http:
2018-01-03 11:28:22 +01:00
addr: :5000
secret: placeholder
debug:
addr: localhost:5001
auth:
token:
issuer: harbor-token-issuer
realm: $public_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: $ui_url/service/notifications
2018-01-03 11:28:22 +01:00
timeout: 3000ms
threshold: 5
backoff: 1s