tar xzvf harbor-offline-installer-v1.10.14.tgz
cd harbor
vim harbor.yml
3、修改配置文件
## 修改内容 : ## 1、hostname 访问的ip或域名## 2、prot 访问端口## 3、这里将https模块屏蔽掉,就不做证书的一些操作了# The IP address or hostname to access admin UI and registry service.# DO NOT use localhost or 127.0.0.1, because Harbor needs to be accessed by external clients.
hostname: 172.20.191.103
# http related config
http:
# port for http, default is 80. If https enabled, this port will redirect to https port
port: 8001# https related config#https:# https port for harbor, default is 443# port: 443# The path of cert and key files for nginx#certificate: /your/certificate/path#private_key: /your/private/key/path