Harbor之https

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Harbor之https相关的知识,希望对你有一定的参考价值。

openssl genrsa -out harbor-ca.key
openssl req -x509 -new -nodes -key harbor-ca.key -subj "/CN=192.168.10.20" -days 7120 -out harbor-ca.crt
root@k-har:/apps/harbor# grep -v "#" ./harbor.yml |grep -v "^$"
hostname: 192.168.10.20
http:
port: 80
https:
port: 443
certificate: /apps/harbor/certs/harbor-ca.crt
private_key: /apps/harbor/certs/harbor-ca.key
harbor_admin_password: 12345
database:
password: root123
max_idle_conns: 100
max_open_conns: 900
conn_max_lifetime: 5m
conn_max_idle_time: 0
data_volume: /data
trivy:
ignore_unfixed: false
skip_update: false
offline_scan: false
security_check: vuln
insecure: false
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.7.0
proxy:
http_proxy:
https_proxy:
no_proxy:
components:
- core
- jobservice
- trivy
upload_purging:
enabled: true
age: 168h
interval: 24h
dryrun: false
cache:
enabled: false
expire_hours: 24

Harbor之https_harbor

以上是关于Harbor之https的主要内容,如果未能解决你的问题,请参考以下文章

docker搭建私有仓库之harbor

系列CentOS 7.3 离线安装(无网络环境)CI CD环境之harbor

harbor实践之初识harbor

Docker之Harbor

docker 私有仓库之Harbor搭建与使用

DevOps之harbor