mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
the attribute name 'production' is misleading
This commit is contained in:
parent
e3c36bfc74
commit
6fcf3b842d
@ -35,8 +35,8 @@ db_password = root123
|
||||
#Turn on or off the self-registration feature
|
||||
self_registration = on
|
||||
|
||||
#Turn on or off the options for production
|
||||
production = off
|
||||
#Turn on or off the options to control UI whether to use compressed js file
|
||||
use_compressed_js = off
|
||||
|
||||
#Number of job workers in job service, default is 3
|
||||
max_job_workers = 3
|
||||
|
@ -38,7 +38,7 @@ ldap_url = rcp.get("configuration", "ldap_url")
|
||||
ldap_basedn = rcp.get("configuration", "ldap_basedn")
|
||||
db_password = rcp.get("configuration", "db_password")
|
||||
self_registration = rcp.get("configuration", "self_registration")
|
||||
production = rcp.get("configuration", "production")
|
||||
use_compressed_js = rcp.get("configuration", "use_compressed_js")
|
||||
customize_crt = rcp.get("configuration", "customize_crt")
|
||||
crt_country = rcp.get("configuration", "crt_country")
|
||||
crt_state = rcp.get("configuration", "crt_state")
|
||||
@ -99,7 +99,7 @@ render(os.path.join(templates_dir, "ui", "env"),
|
||||
ldap_url=ldap_url,
|
||||
ldap_basedn=ldap_basedn,
|
||||
self_registration=self_registration,
|
||||
production=production,
|
||||
use_compressed_js=use_compressed_js,
|
||||
ui_secret=ui_secret,
|
||||
verify_remote_cert=verify_remote_cert)
|
||||
|
||||
|
@ -13,10 +13,9 @@ LDAP_URL=$ldap_url
|
||||
LDAP_BASE_DN=$ldap_basedn
|
||||
UI_SECRET=$ui_secret
|
||||
SELF_REGISTRATION=$self_registration
|
||||
PRODUCTION=$production
|
||||
PRODUCTION=$use_compressed_js
|
||||
LOG_LEVEL=debug
|
||||
GODEBUG=netdns=cgo
|
||||
EXT_ENDPOINT=$ui_url
|
||||
TOKEN_URL=http://ui
|
||||
VERIFY_REMOTE_CERT=$verify_remote_cert
|
||||
PRODUCTION=$production
|
||||
|
Loading…
Reference in New Issue
Block a user