docker-distribution: Initial version of role
This commit is contained in:
parent
4547044a07
commit
fd8e0e8558
3 changed files with 44 additions and 0 deletions
19
roles/docker-distribution/templates/config.yml.j2
Normal file
19
roles/docker-distribution/templates/config.yml.j2
Normal file
|
@ -0,0 +1,19 @@
|
|||
version: 0.1
|
||||
log:
|
||||
fields:
|
||||
service: registry
|
||||
storage:
|
||||
cache:
|
||||
layerinfo: inmemory
|
||||
filesystem:
|
||||
rootdirectory: /srv/registry
|
||||
http:
|
||||
addr: :5000
|
||||
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