2
0
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:
chabad360 2020-03-05 01:38:01 +00:00
parent 8eb26446da
commit 959ab4fc7d

View File

@ -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(