forked from coop-cloud/distribution
25 lines
707 B
Cheetah
25 lines
707 B
Cheetah
---
|
|
version: 0.1
|
|
|
|
storage:
|
|
filesystem:
|
|
rootdirectory: /var/lib/registry
|
|
|
|
http:
|
|
addr: :5000
|
|
headers:
|
|
X-Content-Type-Options: [nosniff]
|
|
Access-Control-Allow-Origin: ["{{ env "UI_URL" }}"]
|
|
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"]
|
|
|
|
auth:
|
|
token:
|
|
realm: {{ env "REGISTRY_AUTH_TOKEN_REALM" }}
|
|
service: {{ env "REGISTRY_AUTH_TOKEN_SERVICE" }}
|
|
issuer: {{ env "REGISTRY_AUTH_TOKEN_ISSUER" }}
|
|
rootcertbundle: {{ env "REGISTRY_AUTH_TOKEN_ROOTCERTBUNDLE" }}
|