2023-12-12 20:16:28 +00:00
|
|
|
version: 0.1
|
|
|
|
log:
|
|
|
|
level: info
|
|
|
|
fields:
|
|
|
|
service: registry
|
|
|
|
storage:
|
|
|
|
cache:
|
|
|
|
layerinfo: redis
|
|
|
|
filesystem:
|
|
|
|
rootdirectory: /storage
|
|
|
|
maintenance:
|
|
|
|
uploadpurging:
|
2023-12-13 17:30:20 +00:00
|
|
|
enabled: true
|
|
|
|
age: 168h
|
|
|
|
interval: 24h
|
|
|
|
dryrun: false
|
2023-12-12 20:16:28 +00:00
|
|
|
delete:
|
|
|
|
enabled: true
|
|
|
|
redis:
|
|
|
|
addr: harbor-redis:6379
|
2023-12-13 17:30:20 +00:00
|
|
|
readtimeout: 10s
|
|
|
|
writetimeout: 10s
|
|
|
|
dialtimeout: 10s
|
2023-12-12 20:16:28 +00:00
|
|
|
password:
|
|
|
|
db: 1
|
2023-12-13 17:30:20 +00:00
|
|
|
pool:
|
|
|
|
maxidle: 100
|
|
|
|
maxactive: 500
|
|
|
|
idletimeout: 60s
|
2023-12-12 20:16:28 +00:00
|
|
|
http:
|
|
|
|
addr: :5000
|
|
|
|
secret: placeholder
|
|
|
|
debug:
|
2023-12-13 17:30:20 +00:00
|
|
|
addr: :9090
|
|
|
|
prometheus:
|
|
|
|
enabled: true
|
|
|
|
path: /metrics
|
2023-12-12 20:16:28 +00:00
|
|
|
auth:
|
|
|
|
htpasswd:
|
|
|
|
realm: harbor-registry-basic-realm
|
|
|
|
path: /etc/registry/passwd
|
2023-12-13 17:30:20 +00:00
|
|
|
validation:
|
|
|
|
disabled: true
|
|
|
|
compatibility:
|
|
|
|
schema1:
|
|
|
|
enabled: true
|