From 475c19a782c824423a3f49defcbfd80222bb48fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Wed, 16 Oct 2024 18:00:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20Harbor=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E5=92=8C=E9=85=8D=E7=BD=AE=E8=AF=B4=E6=98=8E=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- {duplicati => stacks/duplicati}/README.md | 0 stacks/harbor/README.md | 28 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) rename {duplicati => stacks/duplicati}/README.md (100%) create mode 100644 stacks/harbor/README.md diff --git a/duplicati/README.md b/stacks/duplicati/README.md similarity index 100% rename from duplicati/README.md rename to stacks/duplicati/README.md diff --git a/stacks/harbor/README.md b/stacks/harbor/README.md new file mode 100644 index 0000000..df72cfd --- /dev/null +++ b/stacks/harbor/README.md @@ -0,0 +1,28 @@ +# Harbor + +## 安装启动 +```bash +mkdir -p ~/_docker-stacks/harbor-root; +cd ~/_docker-stacks/harbor-root; + +wget https://github.com/goharbor/harbor/releases/download/v2.11.1/harbor-online-installer-v2.11.1.tgz +tar xvf harbor-online-installer-v2.11.1.tgz +cd harbor +cp harbor.yml.tmpl harbor.yml +./install.sh +# ./install.sh --with-clair --with-chartmuseum +# ./install.sh --with-notary --with-clair --with-chartmuseum +``` + +## 要改的配置 +```yaml +hostname: harbor.oo1.dev +http: + port: 8880 +# https: # 注释掉 +external_url: https://harbor.oo1.dev +harbor_admin_password: +database: + password: +data_volume: /harbor-data +``` \ No newline at end of file