Compare commits
1 Commits
master
...
feat/proxy
Author | SHA1 | Date | |
---|---|---|---|
|
beddcd2a80 |
@ -4,4 +4,5 @@ ARG REGISTRY_USERNAME
|
||||
ARG REGISTRY_PASSWORD
|
||||
RUN mkdir -p /certs /auth
|
||||
RUN htpasswd -Bbn ${REGISTRY_USERNAME} ${REGISTRY_PASSWORD} > /auth/htpasswd
|
||||
ADD config.yml /etc/docker/registry/config.yml
|
||||
EXPOSE 443
|
||||
|
22
deploy/registry/config.yml
Normal file
22
deploy/registry/config.yml
Normal file
@ -0,0 +1,22 @@
|
||||
version: 0.1
|
||||
proxy:
|
||||
remoteurl: https://quay.io/tinkerbell-actions
|
||||
log:
|
||||
accesslog:
|
||||
disabled: true
|
||||
fields:
|
||||
service: registry
|
||||
storage:
|
||||
cache:
|
||||
blobdescriptor: inmemory
|
||||
filesystem:
|
||||
rootdirectory: /var/lib/registry
|
||||
http:
|
||||
addr: :5000
|
||||
headers:
|
||||
X-Content-Type-Options: [nosniff]
|
||||
health:
|
||||
storagedriver:
|
||||
enabled: true
|
||||
interval: 10s
|
||||
threshold: 3
|
Loading…
Reference in New Issue
Block a user