version: 0.1 log: accesslog: disabled: true storage: filesystem: rootdirectory: /var/lib/docker-registry cache: blobdescriptor: inmemory delete: enabled: true http: addr: "{{ docker_registry_http_listen }}" {% if docker_registry_http_secret is defined %} secret: "{{ docker_registry_http_secret }}" {% endif %} headers: X-Content-Type-Options: [nosniff] {% if docker_registry_http_tls is defined %} tls: certificate: "{{ x509_certificate_path_fullchain }}" key: "{{ x509_certificate_path_key }}" {% endif %} {% if docker_registry_http_listen_debug is defined %} debug: addr: "{{ docker_registry_http_listen_debug }}" prometheus: enabled: true path: /metrics {% endif %} health: storagedriver: enabled: true interval: 10s threshold: 3