mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
nginx
This commit is contained in:
parent
06308cea0c
commit
1d186dd00d
5 changed files with 35 additions and 10 deletions
|
|
@ -12,18 +12,15 @@ storage:
|
|||
maxthreads: 100
|
||||
delete:
|
||||
enabled: true
|
||||
auth:
|
||||
token:
|
||||
autoredirect: true
|
||||
realm: token-realm
|
||||
service: token-service
|
||||
issuer: registry-token-issuer
|
||||
rootcertbundle: /root/certs/bundle
|
||||
#token:
|
||||
# autoredirect: true
|
||||
# realm: token-realm
|
||||
# service: token-service
|
||||
# issuer: registry-token-issuer
|
||||
# rootcertbundle: /root/certs/bundle
|
||||
http:
|
||||
addr: localhost:5000
|
||||
addr: 0.0.0.0:5000
|
||||
prefix: /docker-registry
|
||||
draintimeout: 60s
|
||||
debug:
|
||||
addr: localhost:5001
|
||||
headers:
|
||||
X-Content-Type-Options: [nosniff]
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
docker run -d -p 5000:5000 --restart=always --name registry \
|
||||
-v `pwd`/config.yml:/etc/docker/registry/config.yml \
|
||||
$@ \
|
||||
registry:2
|
||||
Loading…
Add table
Add a link
Reference in a new issue