version: 0.1

log:
  level: debug
  fields:
    service: registry

storage:
  cache:
    blobdescriptor: redis
  {{ registry_storage|to_nice_yaml(indent=2, width=140)|indent(2) }}

redis:
  addr: redis:6379

http:
  addr: :5000
  headers:
    X-Content-Type-Options: [nosniff]

auth:
  htpasswd:
    realm: Kadet's private registry
    path: /etc/docker/registry/htpasswd