mdhub/registry/config.yml.exmplate

48 lines
995 B
Plaintext
Raw Normal View History

version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: /images
delete:
enabled: true
auth:
token:
realm: http://real IP address OR domain/registry/v2/auth/
service: container_registry
issuer: token_issuer
rootcertbundle: /certs/registry-auth1.crt
signingalgorithms:
- EdDSA
- HS256
- ES512
http:
addr: :5000
secret: random string
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
notifications:
events:
includereferences: true
endpoints:
- name: register_listener
disabled: false
url: http://app:9000/registry/v2/event/
headers:
Authorization: [token_for_notifications]
timeout: 1s
threshold: 5
backoff: 3s
ignoredmediatypes:
- application/octet-stream
ignore:
mediatypes:
- application/octet-stream