2014-12-02 02:36:20 +01:00
|
|
|
version: 0.1
|
2015-03-24 04:13:35 +01:00
|
|
|
log:
|
|
|
|
level: debug
|
2015-03-25 01:12:04 +01:00
|
|
|
fields:
|
|
|
|
service: registry
|
|
|
|
environment: development
|
2015-04-17 14:19:20 +02: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 20:53:52 +01:00
|
|
|
storage:
|
2015-05-27 19:52:22 +02:00
|
|
|
delete:
|
|
|
|
enabled: true
|
2015-04-03 01:38:01 +02:00
|
|
|
cache:
|
2021-07-02 13:36:37 +02:00
|
|
|
blobdescriptor: inmemory
|
2014-12-15 20:53:52 +01:00
|
|
|
filesystem:
|
2016-05-31 20:14:25 +02:00
|
|
|
rootdirectory: /var/lib/registry
|
2015-04-17 03:34:29 +02:00
|
|
|
maintenance:
|
|
|
|
uploadpurging:
|
|
|
|
enabled: false
|
2014-12-02 02:36:20 +01:00
|
|
|
http:
|
2014-12-11 02:59:13 +01:00
|
|
|
addr: :5000
|
2015-01-29 00:45:25 +01:00
|
|
|
debug:
|
2017-11-17 01:43:38 +01:00
|
|
|
addr: :5001
|
|
|
|
prometheus:
|
|
|
|
enabled: true
|
|
|
|
path: /metrics
|
2015-08-10 23:20:52 +02:00
|
|
|
headers:
|
|
|
|
X-Content-Type-Options: [nosniff]
|
2015-04-02 01:27:24 +02:00
|
|
|
redis:
|
|
|
|
addr: localhost:6379
|
|
|
|
pool:
|
|
|
|
maxidle: 16
|
|
|
|
maxactive: 64
|
|
|
|
idletimeout: 300s
|
|
|
|
dialtimeout: 10ms
|
|
|
|
readtimeout: 10ms
|
|
|
|
writetimeout: 10ms
|
2015-01-29 00:55:18 +01:00
|
|
|
notifications:
|
2018-06-27 17:47:40 +02:00
|
|
|
events:
|
2018-08-20 19:01:40 +02:00
|
|
|
includereferences: true
|
2015-01-29 00:55:18 +01:00
|
|
|
endpoints:
|
2015-07-20 16:25:39 +02:00
|
|
|
- name: local-5003
|
2015-01-29 00:55:18 +01: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 14:19:20 +02:00
|
|
|
disabled: true
|
2015-08-19 23:12:51 +02:00
|
|
|
health:
|
|
|
|
storagedriver:
|
|
|
|
enabled: true
|
|
|
|
interval: 10s
|
|
|
|
threshold: 3
|