# http related config http: # port for http, default is 80. If https enabled, this port will redirect to https port port:80
# 内网不需要https,https和证书就注释了 # 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
# 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:123456
# Harbor DB configuration database: # The password for the root user of Harbor DB. Change this before any production use. password:root123 # The maximum number of connections in the idle connection pool. If it <=0, no idle connections are retained. max_idle_conns:50 # 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 100 for postgres. max_open_conns:100
# The default data volume # 这里要配置好目录 data_volume:/home/yunxian/harbor/data
[root@client ~]# docker login 10.19.46.15 Username: admin Password: WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded