- Upgrade registry to 3.0.0 (new config path, redis addrs) - Generate htpasswd with bcrypt cost 5; cost 12 added ~350ms per request - Route /v2 straight to the registry instead of through the UI's nginx Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
374 B
YAML
25 lines
374 B
YAML
version: 0.1
|
|
|
|
log:
|
|
level: warn
|
|
fields:
|
|
service: registry
|
|
|
|
storage:
|
|
cache:
|
|
blobdescriptor: redis
|
|
{{ registry_storage|to_nice_yaml(indent=2, width=140)|indent(2) }}
|
|
|
|
redis:
|
|
addrs: [redis:6379]
|
|
|
|
http:
|
|
addr: :5000
|
|
headers:
|
|
X-Content-Type-Options: [nosniff]
|
|
|
|
auth:
|
|
htpasswd:
|
|
realm: Kadet's private registry
|
|
path: /etc/docker/registry/htpasswd
|