1version: 0.1 2log: 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 21storage: 22 delete: 23 enabled: true 24 cache: 25 blobdescriptor: redis 26 filesystem: 27 rootdirectory: /var/lib/registry 28 maintenance: 29 uploadpurging: 30 enabled: false 31http: 32 addr: :5000 33 debug: 34 addr: :5001 35 prometheus: 36 enabled: true 37 path: /metrics 38 headers: 39 X-Content-Type-Options: [nosniff] 40redis: 41 addr: localhost:6379 42 pool: 43 maxidle: 16 44 maxactive: 64 45 idletimeout: 300s 46 dialtimeout: 10ms 47 readtimeout: 10ms 48 writetimeout: 10ms 49notifications: 50 events: 51 includereferences: true 52 endpoints: 53 - name: local-5003 54 url: http://localhost:5003/callback 55 headers: 56 Authorization: [Bearer <an example token>] 57 timeout: 1s 58 threshold: 10 59 backoff: 1s 60 disabled: true 61 - name: local-8083 62 url: http://localhost:8083/callback 63 timeout: 1s 64 threshold: 10 65 backoff: 1s 66 disabled: true 67health: 68 storagedriver: 69 enabled: true 70 interval: 10s 71 threshold: 3 72