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

     1  version: 0.1
     2  log:
     3    level: debug
     4    fields:
     5      service: registry
     6      environment: development
     7    hooks:
     8      - type: mail
     9        disabled: true
    10        levels:
    11          - panic
    12        options:
    13          smtp:
    14            addr: mail.example.com:25
    15            username: mailuser
    16            password: password
    17            insecure: true
    18          from: sender@example.com
    19          to:
    20            - errors@example.com
    21  storage:
    22      delete:
    23        enabled: true
    24      cache:
    25          blobdescriptor: redis
    26      filesystem:
    27          rootdirectory: /var/lib/registry
    28      maintenance:
    29          uploadpurging:
    30              enabled: false
    31  http:
    32      addr: :5000
    33      debug:
    34          addr: localhost:5001
    35      headers:
    36          X-Content-Type-Options: [nosniff]
    37  redis:
    38    addr: localhost:6379
    39    pool:
    40      maxidle: 16
    41      maxactive: 64
    42      idletimeout: 300s
    43    dialtimeout: 10ms
    44    readtimeout: 10ms
    45    writetimeout: 10ms
    46  notifications:
    47      endpoints:
    48          - name: local-5003
    49            url: http://localhost:5003/callback
    50            headers:
    51               Authorization: [Bearer <an example token>]
    52            timeout: 1s
    53            threshold: 10
    54            backoff: 1s
    55            disabled: true
    56          - name: local-8083
    57            url: http://localhost:8083/callback
    58            timeout: 1s
    59            threshold: 10
    60            backoff: 1s
    61            disabled: true 
    62  health:
    63    storagedriver:
    64      enabled: true
    65      interval: 10s
    66      threshold: 3