github.com/lusis/distribution@v2.0.1+incompatible/cmd/registry/config.yml (about)

     1  version: 0.1
     2  log:
     3    level: debug
     4    fields:
     5      service: registry
     6      environment: development
     7  storage:
     8      cache:
     9          layerinfo: inmemory
    10      filesystem:
    11          rootdirectory: /tmp/registry-dev
    12      maintenance:
    13          uploadpurging:
    14              enabled: false
    15  http:
    16      addr: :5000
    17      secret: asecretforlocaldevelopment
    18      debug:
    19          addr: localhost:5001
    20  redis:
    21    addr: localhost:6379
    22    pool:
    23      maxidle: 16
    24      maxactive: 64
    25      idletimeout: 300s
    26    dialtimeout: 10ms
    27    readtimeout: 10ms
    28    writetimeout: 10ms
    29  notifications:
    30      endpoints:
    31          - name: local-8082
    32            url: http://localhost:5003/callback
    33            headers:
    34               Authorization: [Bearer <an example token>]
    35            timeout: 1s
    36            threshold: 10
    37            backoff: 1s
    38            disabled: true
    39          - name: local-8083
    40            url: http://localhost:8083/callback
    41            timeout: 1s
    42            threshold: 10
    43            backoff: 1s
    44            disabled: true
    45