2015-07-29 18:12:01 +00:00
|
|
|
version: 0.1
|
|
|
|
log:
|
|
|
|
level: debug
|
|
|
|
fields:
|
|
|
|
service: registry
|
|
|
|
environment: development
|
|
|
|
storage:
|
|
|
|
cache:
|
|
|
|
blobdescriptor: redis
|
|
|
|
filesystem:
|
|
|
|
rootdirectory: /var/lib/registry-cache
|
|
|
|
maintenance:
|
|
|
|
uploadpurging:
|
|
|
|
enabled: false
|
|
|
|
http:
|
|
|
|
addr: :5000
|
|
|
|
secret: asecretforlocaldevelopment
|
|
|
|
debug:
|
|
|
|
addr: localhost:5001
|
2015-08-10 21:20:52 +00:00
|
|
|
headers:
|
|
|
|
X-Content-Type-Options: [nosniff]
|
2015-07-29 18:12:01 +00:00
|
|
|
redis:
|
|
|
|
addr: localhost:6379
|
|
|
|
pool:
|
|
|
|
maxidle: 16
|
|
|
|
maxactive: 64
|
|
|
|
idletimeout: 300s
|
|
|
|
dialtimeout: 10ms
|
|
|
|
readtimeout: 10ms
|
|
|
|
writetimeout: 10ms
|
|
|
|
notifications:
|
2018-06-27 15:47:40 +00:00
|
|
|
events:
|
2018-08-20 17:01:40 +00:00
|
|
|
includereferences: true
|
2015-07-29 18:12:01 +00:00
|
|
|
endpoints:
|
|
|
|
- name: local-8082
|
|
|
|
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
|
|
|
|
disabled: true
|
|
|
|
proxy:
|
|
|
|
remoteurl: https://registry-1.docker.io
|
|
|
|
username: username
|
|
|
|
password: password
|
2015-08-19 21:12:51 +00:00
|
|
|
health:
|
|
|
|
storagedriver:
|
|
|
|
enabled: true
|
|
|
|
interval: 10s
|
|
|
|
threshold: 3
|