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:
|
2019-12-25 07:59:47 +01:00
|
|
|
htpasswd:
|
|
|
|
realm: harbor-registry-basic-realm
|
|
|
|
path: /etc/registry/passwd
|
2019-02-20 11:01:48 +01:00
|
|
|
validation:
|
|
|
|
disabled: true
|
2019-04-15 08:44:29 +02:00
|
|
|
compatibility:
|
|
|
|
schema1:
|
|
|
|
enabled: true
|