2018-11-15 04:09:57 +01:00
|
|
|
version: 0.1
|
|
|
|
log:
|
2019-04-02 14:08:26 +02:00
|
|
|
level: {{log_level}}
|
2018-11-15 04:09:57 +01:00
|
|
|
fields:
|
|
|
|
service: registry
|
|
|
|
storage:
|
|
|
|
cache:
|
|
|
|
layerinfo: redis
|
|
|
|
{{storage_provider_info}}
|
|
|
|
maintenance:
|
|
|
|
uploadpurging:
|
|
|
|
enabled: false
|
|
|
|
delete:
|
|
|
|
enabled: true
|
2019-04-30 11:05:27 +02:00
|
|
|
{% if storage_redirect_disabled %}
|
|
|
|
redirect:
|
2019-05-10 17:08:21 +02:00
|
|
|
disable: true
|
2019-04-30 11:05:27 +02:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
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
|
2019-02-20 11:01:48 +01:00
|
|
|
validation:
|
|
|
|
disabled: true
|
2018-11-15 04:09:57 +01:00
|
|
|
notifications:
|
|
|
|
endpoints:
|
|
|
|
- name: harbor
|
|
|
|
disabled: false
|
|
|
|
url: {{core_url}}/service/notifications
|
|
|
|
timeout: 3000ms
|
|
|
|
threshold: 5
|
|
|
|
backoff: 1s
|
2019-11-05 10:47:03 +01:00
|
|
|
ignoredmediatypes:
|
|
|
|
- application/vnd.docker.image.rootfs.diff.tar.gzip
|
|
|
|
- application/vnd.docker.image.rootfs.foreign.diff.tar.gzip
|
|
|
|
- application/vnd.oci.image.layer.v1.tar
|
|
|
|
- application/vnd.oci.image.layer.v1.tar+gzip
|
|
|
|
- application/vnd.oci.image.layer.v1.tar+zstd
|
|
|
|
- application/vnd.oci.image.layer.nondistributable.v1.tar
|
|
|
|
- application/vnd.oci.image.layer.nondistributable.v1.tar+gzip
|
|
|
|
- application/vnd.oci.image.layer.nondistributable.v1.tar+zstd
|
|
|
|
- application/octet-stream
|
2019-04-15 08:44:29 +02:00
|
|
|
compatibility:
|
|
|
|
schema1:
|
|
|
|
enabled: true
|