github.com/npaton/distribution@v2.3.1-rc.0+incompatible/cmd/registry/config-cache.yml (about)

     1  version: 0.1
     2  log:
     3    level: debug
     4    fields:
     5      service: registry
     6      environment: development
     7  storage:
     8      cache:
     9          blobdescriptor: redis
    10      filesystem:
    11          rootdirectory: /var/lib/registry-cache
    12      maintenance:
    13          uploadpurging:
    14              enabled: false
    15  http:
    16      addr: :5000
    17      secret: asecretforlocaldevelopment
    18      debug:
    19          addr: localhost:5001
    20      headers:
    21          X-Content-Type-Options: [nosniff]
    22  redis:
    23    addr: localhost:6379
    24    pool:
    25      maxidle: 16
    26      maxactive: 64
    27      idletimeout: 300s
    28    dialtimeout: 10ms
    29    readtimeout: 10ms
    30    writetimeout: 10ms
    31  notifications:
    32      endpoints:
    33          - name: local-8082
    34            url: http://localhost:5003/callback
    35            headers:
    36               Authorization: [Bearer <an example token>]
    37            timeout: 1s
    38            threshold: 10
    39            backoff: 1s
    40            disabled: true
    41          - name: local-8083
    42            url: http://localhost:8083/callback
    43            timeout: 1s
    44            threshold: 10
    45            backoff: 1s
    46            disabled: true
    47  proxy:
    48    remoteurl: https://registry-1.docker.io
    49    username: username
    50    password: password
    51  health:
    52    storagedriver:
    53      enabled: true
    54      interval: 10s
    55      threshold: 3