安装部署
下载Harbor
https://storage.googleapis.com/harbor-releases/release-1.8.0/harbor-offline-installer-v1.8.2.tgz
解压
tar zxvf harbor-offline-installer-v1.8.2.tgz修改默认配置文件
默认配置是harbor.yml文件.又是YAML 怎么修改,就不详细介绍了.配置文件里面都有详细的说明.
配置HTTPS
阿里云申请个SSL证书.
https:
# # https port for harbor, default is 443
port: 443
# The path of cert and key files for nginx
certificate: /PATH/xxx.pem
private_key: /PATH/xxx.key根据harbor.yml生成docker-compose.yml
harbor.yml生成docker-compose.yml启动Haibor
查看启动情况
Last updated
Was this helpful?