mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-17 15:55:26 +01:00
0ffa6e076c
this commit is to specrate the redis_url into host,port,pwd and index for different components, and make it possible to set external redis server.
38 lines
693 B
YAML
38 lines
693 B
YAML
version: 0.1
|
|
log:
|
|
level: info
|
|
fields:
|
|
service: registry
|
|
storage:
|
|
cache:
|
|
layerinfo: redis
|
|
$storage_provider_info
|
|
maintenance:
|
|
uploadpurging:
|
|
enabled: false
|
|
delete:
|
|
enabled: true
|
|
redis:
|
|
addr: $redis_host:$redis_port
|
|
password: $redis_password
|
|
db: $redis_db_index_reg
|
|
http:
|
|
addr: :5000
|
|
secret: placeholder
|
|
debug:
|
|
addr: localhost:5001
|
|
auth:
|
|
token:
|
|
issuer: harbor-token-issuer
|
|
realm: $public_url/service/token
|
|
rootcertbundle: /etc/registry/root.crt
|
|
service: harbor-registry
|
|
notifications:
|
|
endpoints:
|
|
- name: harbor
|
|
disabled: false
|
|
url: $ui_url/service/notifications
|
|
timeout: 3000ms
|
|
threshold: 5
|
|
backoff: 1s
|