82 lines
1.3 KiB
YAML
82 lines
1.3 KiB
YAML
|
|
hostname: harbor.provisioning.local
|
||
|
|
|
||
|
|
http:
|
||
|
|
port: 80
|
||
|
|
|
||
|
|
https:
|
||
|
|
port: 443
|
||
|
|
certificate: /data/cert/server.crt
|
||
|
|
private_key: /data/cert/server.key
|
||
|
|
|
||
|
|
harbor_admin_password: Harbor12345
|
||
|
|
|
||
|
|
database:
|
||
|
|
password: root123
|
||
|
|
max_idle_conns: 100
|
||
|
|
max_open_conns: 900
|
||
|
|
|
||
|
|
data_volume: /data
|
||
|
|
|
||
|
|
# Storage backend (filesystem, s3, azure, gcs, oss, swift)
|
||
|
|
storage_service:
|
||
|
|
filesystem:
|
||
|
|
rootdirectory: /storage
|
||
|
|
# Optional S3 configuration
|
||
|
|
# s3:
|
||
|
|
# accesskey: awsaccesskey
|
||
|
|
# secretkey: awssecretkey
|
||
|
|
# region: us-west-1
|
||
|
|
# bucket: bucketname
|
||
|
|
# rootdirectory: /harbor
|
||
|
|
|
||
|
|
clair:
|
||
|
|
updaters_interval: 12
|
||
|
|
|
||
|
|
trivy:
|
||
|
|
ignore_unfixed: false
|
||
|
|
skip_update: false
|
||
|
|
insecure: false
|
||
|
|
github_token: ""
|
||
|
|
|
||
|
|
jobservice:
|
||
|
|
max_job_workers: 10
|
||
|
|
|
||
|
|
notification:
|
||
|
|
webhook_job_max_retry: 10
|
||
|
|
|
||
|
|
chart:
|
||
|
|
absolute_url: disabled
|
||
|
|
|
||
|
|
log:
|
||
|
|
level: info
|
||
|
|
local:
|
||
|
|
rotate_count: 50
|
||
|
|
rotate_size: 200M
|
||
|
|
location: /var/log/harbor
|
||
|
|
|
||
|
|
_version: 2.9.0
|
||
|
|
|
||
|
|
# External URL (used for generating links)
|
||
|
|
external_url: https://harbor.provisioning.local
|
||
|
|
|
||
|
|
# Proxy configuration (if behind a proxy)
|
||
|
|
proxy:
|
||
|
|
http_proxy:
|
||
|
|
https_proxy:
|
||
|
|
no_proxy:
|
||
|
|
components:
|
||
|
|
- core
|
||
|
|
- jobservice
|
||
|
|
- trivy
|
||
|
|
|
||
|
|
# Metric collection
|
||
|
|
metric:
|
||
|
|
enabled: true
|
||
|
|
port: 9090
|
||
|
|
path: /metrics
|
||
|
|
|
||
|
|
# Cache configuration
|
||
|
|
cache:
|
||
|
|
enabled: true
|
||
|
|
expire_hours: 24
|