distribution/config.yml.tmpl

18 lines
471 B
Cheetah
Raw Permalink Normal View History

2020-05-11 15:25:43 +00:00
---
version: 0.1
storage:
filesystem:
rootdirectory: /var/lib/registry
http:
addr: :5000
headers:
2020-05-11 16:35:21 +00:00
X-Content-Type-Options: [nosniff]
2020-06-17 06:38:00 +00:00
Access-Control-Allow-Origin: ["{{ env "domain" }}"]
2020-05-11 16:35:21 +00:00
Access-Control-Allow-Methods: ["HEAD", "GET", "OPTIONS", "DELETE"]
Access-Control-Allow-Headers: ["Authorization"]
Access-Control-Max-Age: [1728000]
Access-Control-Allow-Credentials: [true]
Access-Control-Expose-Headers: ["Docker-Content-Digest"]