harbor/conf/registry/config.yml

46 lines
743 B
YAML
Raw Normal View History

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:
enabled: true
age: 168h
interval: 24h
dryrun: false
2023-12-12 20:16:28 +00:00
delete:
enabled: true
redis:
addr: harbor-redis:6379
readtimeout: 10s
writetimeout: 10s
dialtimeout: 10s
2023-12-12 20:16:28 +00:00
password:
db: 1
pool:
maxidle: 100
maxactive: 500
idletimeout: 60s
2023-12-12 20:16:28 +00:00
http:
addr: :5000
secret: placeholder
debug:
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
validation:
disabled: true
compatibility:
schema1:
enabled: true