...

Text file src/github.com/docker/distribution/cmd/registry/config-cache.yml

Documentation: github.com/docker/distribution/cmd/registry

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

View as plain text