mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-03 14:37:44 +01:00
harbor.cfg
This commit is contained in:
parent
fe0b7e6afd
commit
ab9470555a
@ -5,24 +5,24 @@
|
|||||||
hostname = reg.mydomain.com
|
hostname = reg.mydomain.com
|
||||||
|
|
||||||
#The protocol for accessing the UI and token/notification service, by default it is http.
|
#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.
|
#It can be set to https if ssl is enabled on nginx.
|
||||||
ui_url_protocol = http
|
ui_url_protocol = http
|
||||||
|
|
||||||
#Email settings for sending password resetting emails.
|
#Email account settings for sending out password resetting emails.
|
||||||
email_server = smtp.mydomain.com
|
email_server = smtp.mydomain.com
|
||||||
email_server_port = 25
|
email_server_port = 25
|
||||||
email_username = sample_admin@mydomain.com
|
email_username = sample_admin@mydomain.com
|
||||||
email_password = abc
|
email_password = abc
|
||||||
email_from = admin <sample_admin@mydomain.com>
|
email_from = admin <sample_admin@mydomain.com>
|
||||||
|
|
||||||
##The password of harbor admin, change this before any production use.
|
##The password of Harbor admin, change this before any production use.
|
||||||
harbor_admin_password= Harbor12345
|
harbor_admin_password= Harbor12345
|
||||||
|
|
||||||
##By default the auth mode is db_auth, i.e. the credentials are stored in a local database.
|
##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.
|
#Set it to ldap_auth if you want to verify a user's credentials against an LDAP server.
|
||||||
auth_mode = db_auth
|
auth_mode = db_auth
|
||||||
|
|
||||||
#The url for ldap endpoint.
|
#The url for an ldap endpoint.
|
||||||
ldap_url = ldaps://ldap.mydomain.com
|
ldap_url = ldaps://ldap.mydomain.com
|
||||||
|
|
||||||
#The basedn template to look up a user in LDAP and verify the user's password.
|
#The basedn template to look up a user in LDAP and verify the user's password.
|
||||||
|
Loading…
Reference in New Issue
Block a user