mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-11 01:32:10 +00:00
one small change to support multi-tenancy
This commit is contained in:
parent
8eb26446da
commit
959ab4fc7d
@ -6,7 +6,7 @@ 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("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
|
||||
install_apps = os.environ.get("INSTALL_APPS").split(",")
|
||||
frappe.init(site_name, new_site=True)
|
||||
|
||||
_new_site(
|
||||
|
Loading…
Reference in New Issue
Block a user