harbor/Deploy/harbor.cfg

53 lines
1.7 KiB
INI
Raw Normal View History

2016-04-04 08:04:02 +02:00
## Configuration file of Harbor
2016-04-04 05:29:35 +02:00
#The IP address or hostname to access admin UI and registry service.
2016-04-04 05:20:52 +02:00
#DO NOT use localhost or 127.0.0.1, because Harbor needs to be accessed by external clients.
hostname = reg.mydomain.org
2016-04-04 08:04:02 +02:00
2016-04-04 05:29:35 +02:00
#The protocol for accessing the UI and token/notification service, by default it is http.
2016-04-04 08:13:39 +02:00
#It can be set to https if ssl is enabled on nginx.
ui_url_protocol = http
2016-04-04 08:04:02 +02:00
2016-04-04 08:13:39 +02:00
#Email account settings for sending out password resetting emails.
email_server = smtp.mydomain.com
email_server_port = 25
email_username = sample_admin@mydomain.com
email_password = abc
email_from = admin <sample_admin@mydomain.com>
email_ssl = false
2016-04-04 08:04:02 +02:00
2016-04-04 08:13:39 +02:00
##The password of Harbor admin, change this before any production use.
harbor_admin_password = Harbor12345
2016-04-04 08:04:02 +02:00
2016-04-04 05:29:35 +02:00
##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
2016-04-04 08:04:02 +02:00
2016-04-04 08:13:39 +02:00
#The url for an ldap endpoint.
ldap_url = ldaps://ldap.mydomain.com
2016-04-04 08:04:02 +02:00
#The basedn template to look up a user in LDAP and verify the user's password.
ldap_basedn = uid=%s,ou=people,dc=mydomain,dc=com
2016-04-04 08:04:02 +02:00
#The password for the root user of mysql db, change this before any production use.
db_password = root123
2016-04-08 11:04:47 +02:00
#Turn on or off the self-registration feature
self_registration = on
2016-04-19 19:37:07 +02:00
#Turn on or off the customize your certicate
customize_crt = on
2016-04-19 19:37:07 +02:00
#Number of job workers in job service, default is 10
max_job_workers = 10
#fill in your certicate message
2016-04-25 10:08:16 +02:00
crt_country = CN
crt_state = State
2016-04-25 10:08:16 +02:00
crt_location = CN
crt_organization = organization
crt_organizationalunit = organizational unit
crt_commonname = example.com
crt_email = example@example.com
#####