docker_distribution: Rename role
This commit is contained in:
parent
c67990e462
commit
80b7adbcf8
5 changed files with 1 additions and 1 deletions
28
roles/docker_distribution/templates/config.yml.j2
Normal file
28
roles/docker_distribution/templates/config.yml.j2
Normal file
|
@ -0,0 +1,28 @@
|
|||
version: 0.1
|
||||
log:
|
||||
fields:
|
||||
service: registry
|
||||
storage:
|
||||
cache:
|
||||
layerinfo: inmemory
|
||||
filesystem:
|
||||
rootdirectory: /srv/registry
|
||||
{% if htpasswd is defined %}
|
||||
auth:
|
||||
htpasswd:
|
||||
realm: Authentication Required
|
||||
path: /etc/docker-distribution/registry/htpasswd
|
||||
{% endif %}
|
||||
http:
|
||||
addr: :5000
|
||||
{% if docker_distribution_secret is defined %}
|
||||
secret: {{ secret }}
|
||||
{% endif %}
|
||||
tls:
|
||||
certificate: {{ tls_certs }}/{{ inventory_hostname }}.crt
|
||||
key: {{ tls_private }}/{{ inventory_hostname }}.key
|
||||
clientcas:
|
||||
- {{ tls_certs }}/ca.crt
|
||||
minimumtls: 1.3
|
||||
headers:
|
||||
X-Content-Type-Options: [nosniff]
|
Loading…
Add table
Add a link
Reference in a new issue