mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
parent
8431fcd545
commit
e03a5cd207
1 changed files with 1 additions and 2 deletions
|
|
@ -198,7 +198,6 @@ def init_bench_if_not_exist(args):
|
||||||
|
|
||||||
|
|
||||||
def create_site_in_bench(args):
|
def create_site_in_bench(args):
|
||||||
mariadb_socket_option = ""
|
|
||||||
if "mariadb" == args.db_type:
|
if "mariadb" == args.db_type:
|
||||||
cprint("Set db_host", level=3)
|
cprint("Set db_host", level=3)
|
||||||
subprocess.call(
|
subprocess.call(
|
||||||
|
|
@ -211,7 +210,7 @@ def create_site_in_bench(args):
|
||||||
f"--db-host=mariadb", # Should match the compose service name
|
f"--db-host=mariadb", # Should match the compose service name
|
||||||
f"--db-type={args.db_type}", # Add the selected database type
|
f"--db-type={args.db_type}", # Add the selected database type
|
||||||
f"--no-mariadb-socket",
|
f"--no-mariadb-socket",
|
||||||
f"--db-root-password=123", # Replace with your PostgreSQL password
|
f"--db-root-password=123", # Replace with your MariaDB password
|
||||||
f"--admin-password={args.admin_password}",
|
f"--admin-password={args.admin_password}",
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue