config/puppet-manifests/src/modules/platform/templates/dockerdistribution.conf.erb

31 lines
720 B
Plaintext

version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: /var/lib/docker-distribution
maintenance:
readonly:
enabled: <%= @registry_readonly %>
http:
addr: "<%= @docker_registry_host %>:9001"
tls:
certificate: /etc/ssl/private/registry-cert.crt
key: /etc/ssl/private/registry-cert.key
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
auth:
token:
realm: "https://<%= @docker_registry_host %>:9002/token/"
service: "<%= @docker_registry_host %>:9001"
issuer: bird-token-server
rootcertbundle: /etc/ssl/private/registry-cert.crt