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.
 
 
 
 
 
 

56 lines
1.3 KiB

##
## config.yaml -- Docker Registry Configuration
##
version: 0.1
log:
level: info
formatter: text
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
http:
addr: 127.0.0.1:5000
net: tcp
prefix: /
secret: @secret@
tls:
certificate: @l_prefix@/etc/x509/example-server.crt.pem
key: @l_prefix@/etc/x509/example-server.key.pem
clientcas:
- @l_prefix@/etc/x509/example-ca.crt.pem
- @l_prefix@/etc/x509/public-ca.crt.pem
auth:
htpasswd:
realm: basic-realm
path: @l_prefix@/etc/docker-distribution/docker-registry.pwd
storage:
filesystem:
rootdirectory: @l_prefix@/var/docker-distribution/data
cache:
blobdescriptor: inmemory
maintenance:
uploadpurging:
enabled: true
age: 168h
interval: 24h
dryrun: false