registry lol

This commit is contained in:
nora 2022-08-30 17:38:54 +02:00
parent 819e6b75f5
commit 7408bd8274
2 changed files with 30 additions and 0 deletions

2
registry/README.md Normal file
View file

@ -0,0 +1,2 @@
- https://docs.docker.com/registry/deploying/
- https://docs.docker.com/registry/configuration/

28
registry/config.yml Normal file
View file

@ -0,0 +1,28 @@
version: 0.1
log:
accesslog:
disabled: true
level: debug
formatter: text
fields:
service: registry
storage:
filesystem:
rootdirectory: /var/lib/registry
maxthreads: 100
delete:
enabled: true
auth:
token:
autoredirect: true
realm: token-realm
service: token-service
issuer: registry-token-issuer
rootcertbundle: /root/certs/bundle
http:
addr: localhost:5000
draintimeout: 60s
debug:
addr: localhost:5001
headers:
X-Content-Type-Options: [nosniff]