You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.3 KiB

10 years ago
##
## config.yaml -- Docker Registry Configuration
##
version: 0.1
log:
level: debug
fields:
service: registry
environment: development
hooks:
- type: mail
disabled: true
levels:
- panic
options:
smtp:
addr: 127.0.0.1:25
username: username
password: password
insecure: true
from: docker-registry@example.com
to:
- postmaster@example.com
storage:
cache:
blobdescriptor: redis
filesystem:
rootdirectory: @l_prefix@/var/docker-distribution/db
maintenance:
uploadpurging:
enabled: false
http:
addr: 127.0.0.1:5000
secret: asecretforlocaldevelopment
debug:
addr: 127.0.0.1:5001
redis:
addr: localhost:6379
pool:
maxidle: 16
maxactive: 64
idletimeout: 300s
dialtimeout: 10ms
readtimeout: 10ms
writetimeout: 10ms
notifications:
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