栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

Docker私有仓库Harbor安装

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Docker私有仓库Harbor安装

HarborOur mission is to be the trusted cloud native repository for Kuberneteshttps://goharbor.io/官网安装文档:

Harbor docs | Download the Harbor Installerhttps://goharbor.io/docs/2.5.0/install-config/download-installer/Harbor的github下载网址:

Releases · goharbor/harbor · GitHubAn open source trusted cloud native registry project that stores, signs, and scans content. - Releases · goharbor/harborhttps://github.com/goharbor/harbor/releases

Configure HTTPS Access to Harbor:

Harbor docs | Configure HTTPS Access to Harbor https://goharbor.io/docs/2.5.0/install-config/configure-https/修改harbor.yml:

# Configuration file of Harbor

# 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: web.ljxwtl.cn

# http related config
http:
  # port for http, default is 80. If https enabled, this port will redirect to https port
  port: 8888

# https related config
https:
  # https port for harbor, default is 443
  port: 8890
  # The path of cert and key files for nginx
  certificate: /data/soft/harbor/ca/ca.crt
  private_key: /data/soft/harbor/ca/web.ljxwtl.cn.key
external_url: https://web.ljxwtl.cn:8890


# # Uncomment following will enable tls communication between all harbor components
# internal_tls:
#   # set enabled to true means internal tls is enabled
#   enabled: true
#   # put your cert and key files on dir
#   dir: /etc/harbor/tls/internal

# Uncomment external_url if you want to enable external proxy
# And when it enabled the hostname will no longer used
# external_url: https://reg.mydomain.com:8433

# The initial password of Harbor admin
# It only works in first time to install harbor
# Remember Change the admin password from UI after launching Harbor.
harbor_admin_password: 'XXXXXXXXXXX'

# Harbor DB configuration
database:
  # The password for the root user of Harbor DB. Change this before any production use.
  password: 'XXXXXXXXXX'
  # The maximum number of connections in the idle connection pool. If it <=0, no idle connections are retained.
  max_idle_conns: 100
  # The maximum number of open connections to the database. If it <= 0, then there is no limit on the number of open connections.
  # Note: the default number of connections is 1024 for postgres of harbor.
  max_open_conns: 900

# The default data volume
data_volume: /data/soft/harbor/datas

 

 docker登录:

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/939219.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号