harbor/make/photon/prepare/templates/registry/config.yml.jinja

36 lines
641 B
Plaintext
Raw Normal View History

version: 0.1
log:
level: {{log_level}}
fields:
service: registry
storage:
cache:
layerinfo: redis
{{storage_provider_info}}
maintenance:
uploadpurging:
enabled: false
delete:
enabled: true
{% if storage_redirect_disabled %}
redirect:
disable: true
{% endif %}
redis:
addr: {{redis_host}}:{{redis_port}}
password: {{redis_password}}
db: {{redis_db_index_reg}}
http:
addr: :5000
secret: placeholder
debug:
addr: localhost:5001
auth:
htpasswd:
realm: harbor-registry-basic-realm
path: /etc/registry/passwd
validation:
disabled: true
compatibility:
schema1:
enabled: true