2 files changed, 10 insertions(+), 36 deletions(-)
D docker-registry/config.yml
M registry/config.yml
D docker-registry/config.yml => docker-registry/config.yml +0 -31
@@ 1,31 0,0 @@
-version: 0.1
-log:
- fields:
- service: registry
-storage:
- cache:
- blobdescriptor: inmemory
- filesystem:
- rootdirectory: /var/lib/docker-registry
-http:
- addr: 10.0.0.132:5000
- tls:
- certificate: /etc/docker-registry/docker-registry.pem
- key: /etc/docker-registry/docker-registry-key.pem
- headers:
- X-Content-Type-Options: [nosniff]
-auth:
- token:
- realm: "https://registry.gensokyo:5001/auth"
- service: "Docker registry"
- issuer: "sr.ht auth server"
- rootcertbundle: "/etc/docker-registry/docker-auth-chain.pem"
-health:
- storagedriver:
- enabled: true
- interval: 10s
- threshold: 3
-
-# Uncomment to use this Registry as pull-through cache for DockerHub.
-#proxy:
-# remoteurl: https://registry-1.docker.io
M registry/config.yml => registry/config.yml +10 -5
@@ 8,13 8,18 @@ storage:
filesystem:
rootdirectory: /var/lib/docker-registry
http:
- addr: ${HOST_INT_IP}:5000
+ addr: 10.0.0.132:5000
+ tls:
+ certificate: /etc/docker-registry/docker-registry.pem
+ key: /etc/docker-registry/docker-registry-key.pem
headers:
X-Content-Type-Options: [nosniff]
-#auth:
-# htpasswd:
-# realm: basic-realm
-# path: /etc/registry
+auth:
+ token:
+ realm: "https://registry.gensokyo:5001/auth"
+ service: "Docker registry"
+ issuer: "sr.ht auth server"
+ rootcertbundle: "/etc/docker-registry/docker-auth-chain.pem"
health:
storagedriver:
enabled: true