docker-distribution: Allow setting static secret
This commit is contained in:
parent
3a8802d240
commit
c2107bb294
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,9 @@ storage:
|
|||
rootdirectory: /srv/registry
|
||||
http:
|
||||
addr: :5000
|
||||
{% if docker_distribution_secret is defined %}
|
||||
secret: {{ docker_distribution_secret }}
|
||||
{% endif %}
|
||||
tls:
|
||||
certificate: {{ tls_certs }}/{{ inventory_hostname }}.crt
|
||||
key: {{ tls_private }}/{{ inventory_hostname }}.key
|
||||
|
|
Loading…
Add table
Reference in a new issue