fix: use commonly known variable for MYSQL_ROOT_PASSWORD
This commit is contained in:
parent
4364330fe9
commit
c2c09400da
@ -4,7 +4,7 @@ from frappe.commands.site import _new_site
|
||||
|
||||
site_name = os.environ.get("SITE_NAME", 'site1.localhost')
|
||||
mariadb_root_username = os.environ.get("DB_ROOT_USER", 'root')
|
||||
mariadb_root_password = os.environ.get("DB_ROOT_PASSWORD", 'admin')
|
||||
mariadb_root_password = os.environ.get("MYSQL_ROOT_PASSWORD", 'admin')
|
||||
force = True if os.environ.get("FORCE", None) else False
|
||||
install_apps = ['erpnext'] if os.environ.get("INSTALL_ERPNEXT", None) else False
|
||||
frappe.init(site_name, new_site=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user