48 lines
897 B
YAML
48 lines
897 B
YAML
version: 0.1
|
|
http:
|
|
addr: :5000
|
|
debug:
|
|
addr: :5001
|
|
prometheus:
|
|
enabled: true
|
|
path: /metrics
|
|
draintimeout: 5s
|
|
secret: hmacsecret
|
|
log:
|
|
accesslog:
|
|
disabled: false
|
|
fields:
|
|
environment: local
|
|
service: registry
|
|
formatter: text
|
|
level: debug
|
|
redis:
|
|
addrs: [redis:6379]
|
|
db: 0
|
|
dialtimeout: 5s
|
|
readtimeout: 10ms
|
|
writetimeout: 10ms
|
|
maxidleconns: 16
|
|
poolsize: 64
|
|
connmaxidletime: 300s
|
|
storage:
|
|
redirect:
|
|
disable: true
|
|
cache:
|
|
blobdescriptor: redis
|
|
maintenance:
|
|
uploadpurging:
|
|
enabled: false
|
|
s3:
|
|
region: us-east-1
|
|
accesskey: distribution
|
|
secretkey: password
|
|
bucket: images-local
|
|
rootdirectory: /registry-v2
|
|
regionendpoint: http://minio:9000
|
|
forcepathstyle: true
|
|
encrypt: false
|
|
secure: false
|
|
chunksize: 33554432
|
|
secure: true
|
|
v4auth: true
|