docs(harbor): 更新readme中的安装路径说明

修改安装文档中的路径说明,从相对路径改为绝对路径,避免用户混淆
This commit is contained in:
cnphpbb
2025-12-08 14:00:55 +08:00
parent 3849c32b0f
commit 3ca0240316

View File

@@ -24,12 +24,13 @@
解压安装包:
```
## cd /data/harbor
tar xvf harbor-offline-installer-v2.14.1.tgz
```
2. 进入harbor安装目录修改配置文件
```
cd ./harbor
cd /data/harbor
#复制 harbor的配置文件并改名harbor.yml
cp -ar harbor.yml.tmpl harbor.yml
#修改文件
@@ -48,10 +49,3 @@ vim harbor.yml
docker compose -p harbor -f ./docker-compose.yml pull
docker compose -p harbor -f ./docker-compose.yml up -d
```
```
root@hkthyear-8015912443:/data/caddy/certificate/certificates/acme-v02.api.letsencrypt.org-directory/hub.6t7.net# lsd
 hub.6t7.net.crt  hub.6t7.net.json 󰌆 hub.6t7.net.key
root@hkthyear-8015912443:/data/caddy/certificate/certificates/acme-v02.api.letsencrypt.org-directory/hub.6t7.net#
harbor#1977
```