从 github 下载 harbor 最近的版本,解压之后,下面三个文件要关注
1 主要文件说明
prepare // 安装前预处理
install.sh // 安装
harbor.yml // 可以看作安装时 docker-compose.yml 文件的模板
# vim harbor.yml // 修改以下几个地方,以满足需求
hostname: foo.bar.com
http:
port: 8011
harbor_admin_password:
database:
password:
data_valume:
2 安装步骤
2.1 按需求修改 harbor.yml
2.2 ./prepare
2.3 ./install