2014-12-02 01:36:20 +00:00
|
|
|
version: 0.1
|
2015-03-24 03:13:35 +00:00
|
|
|
log:
|
|
|
|
level: debug
|
2015-03-25 00:12:04 +00:00
|
|
|
fields:
|
|
|
|
service: registry
|
|
|
|
environment: development
|
2015-04-17 12:19:20 +00:00
|
|
|
hooks:
|
|
|
|
- type: mail
|
|
|
|
disabled: true
|
|
|
|
levels:
|
|
|
|
- panic
|
|
|
|
options:
|
|
|
|
smtp:
|
|
|
|
addr: mail.example.com:25
|
|
|
|
username: mailuser
|
|
|
|
password: password
|
|
|
|
insecure: true
|
|
|
|
from: sender@example.com
|
|
|
|
to:
|
|
|
|
- errors@example.com
|
2014-12-15 19:53:52 +00:00
|
|
|
storage:
|
2015-05-27 17:52:22 +00:00
|
|
|
delete:
|
|
|
|
enabled: true
|
2015-04-02 23:38:01 +00:00
|
|
|
cache:
|
2021-07-02 11:36:37 +00:00
|
|
|
blobdescriptor: inmemory
|
2014-12-15 19:53:52 +00:00
|
|
|
filesystem:
|
2016-05-31 18:14:25 +00:00
|
|
|
rootdirectory: /var/lib/registry
|
2015-04-17 01:34:29 +00:00
|
|
|
maintenance:
|
|
|
|
uploadpurging:
|
|
|
|
enabled: false
|
2014-12-02 01:36:20 +00:00
|
|
|
http:
|
2014-12-11 01:59:13 +00:00
|
|
|
addr: :5000
|
2015-01-28 23:45:25 +00:00
|
|
|
debug:
|
2017-11-17 00:43:38 +00:00
|
|
|
addr: :5001
|
|
|
|
prometheus:
|
|
|
|
enabled: true
|
|
|
|
path: /metrics
|
2015-08-10 21:20:52 +00:00
|
|
|
headers:
|
|
|
|
X-Content-Type-Options: [nosniff]
|
2015-04-01 23:27:24 +00:00
|
|
|
redis:
|
|
|
|
addr: localhost:6379
|
|
|
|
pool:
|
|
|
|
maxidle: 16
|
|
|
|
maxactive: 64
|
|
|
|
idletimeout: 300s
|
|
|
|
dialtimeout: 10ms
|
|
|
|
readtimeout: 10ms
|
|
|
|
writetimeout: 10ms
|
2015-01-28 23:55:18 +00:00
|
|
|
notifications:
|
2018-06-27 15:47:40 +00:00
|
|
|
events:
|
2018-08-20 17:01:40 +00:00
|
|
|
includereferences: true
|
2015-01-28 23:55:18 +00:00
|
|
|
endpoints:
|
2015-07-20 14:25:39 +00:00
|
|
|
- name: local-5003
|
2015-01-28 23:55:18 +00:00
|
|
|
url: http://localhost:5003/callback
|
|
|
|
headers:
|
|
|
|
Authorization: [Bearer <an example token>]
|
|
|
|
timeout: 1s
|
|
|
|
threshold: 10
|
|
|
|
backoff: 1s
|
|
|
|
disabled: true
|
|
|
|
- name: local-8083
|
|
|
|
url: http://localhost:8083/callback
|
|
|
|
timeout: 1s
|
|
|
|
threshold: 10
|
|
|
|
backoff: 1s
|
2015-04-17 12:19:20 +00:00
|
|
|
disabled: true
|
2015-08-19 21:12:51 +00:00
|
|
|
health:
|
|
|
|
storagedriver:
|
|
|
|
enabled: true
|
|
|
|
interval: 10s
|
|
|
|
threshold: 3
|