From 8e971b9dbe0c744fa51a521e5ad4e4116a232cdd Mon Sep 17 00:00:00 2001 From: Henry Zhang Date: Mon, 4 Apr 2016 11:29:35 +0800 Subject: [PATCH] update harbor.cfg --- Deploy/harbor.cfg | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Deploy/harbor.cfg b/Deploy/harbor.cfg index 16440e31b..7038317ed 100644 --- a/Deploy/harbor.cfg +++ b/Deploy/harbor.cfg @@ -1,25 +1,25 @@ -## CONFIGURATIONS -#The IP address or hostname to access UI and registry service. +## CONFIGURATION +#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 = reg.mydomain.com -#The protocol for accessing the UI and token/notification service, by default it is http -#User can set it to https if ssl is setup on nginx +#The protocol for accessing the UI and token/notification service, by default it is http. +#It can be set to https if ssl is setup on nginx. ui_url_protocol = http -# Email settings for ui to send password resetting emails +#Email settings for ui to send password resetting emails. email_server = smtp.mydomain.com email_server_port = 25 email_username = sample_admin@mydomain.com email_password = abc email_from = admin -##The password of harbor admin +##The password of harbor admin, change this before any production use harbor_admin_password= Harbor12345 -##By default the auth mode is db_auth, i.e. the creadentials are stored in a databse -#please set it to ldap_auth if you want to verify user's credentials against an ldap server. +##By default the auth mode is db_auth, i.e. the credentials are stored in a local database. +#Set it to ldap_auth if you want to verify a user's credentials against an LDAP server. auth_mode = db_auth -#The url for ldap endpoint +#The url for ldap endpoint. ldap_url = ldaps://ldap.mydomain.com #The basedn template for verifying the user's password ldap_basedn = uid=%s,ou=people,dc=mydomain,dc=com -#The password for root user of db +#The password for root user of mysql db, change this before any production use. db_password = root123 #####