mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-19 07:07:42 +01:00
aad63e7ae5
Add compatibility config in registry.yml Signed-off-by: Qian Deng <dengq@vmware.com>
42 lines
797 B
Django/Jinja
42 lines
797 B
Django/Jinja
version: 0.1
|
|
log:
|
|
level: {{log_level}}
|
|
fields:
|
|
service: registry
|
|
storage:
|
|
cache:
|
|
layerinfo: redis
|
|
{{storage_provider_info}}
|
|
maintenance:
|
|
uploadpurging:
|
|
enabled: false
|
|
delete:
|
|
enabled: true
|
|
redis:
|
|
addr: {{redis_host}}:{{redis_port}}
|
|
password: {{redis_password}}
|
|
db: {{redis_db_index_reg}}
|
|
http:
|
|
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
|
|
validation:
|
|
disabled: true
|
|
notifications:
|
|
endpoints:
|
|
- name: harbor
|
|
disabled: false
|
|
url: {{core_url}}/service/notifications
|
|
timeout: 3000ms
|
|
threshold: 5
|
|
backoff: 1s
|
|
compatibility:
|
|
schema1:
|
|
enabled: true |