We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d88fcc commit fdffda8Copy full SHA for fdffda8
layersbox
@@ -458,11 +458,10 @@ def box_install(args):
458
459
# generate database and parse output
460
mysqlcreate_output = subprocess.check_output(["docker-compose", "run", "mysqlcreate"])
461
- print(mysqlcreate_output)
462
db_password = mysqlcreate_output.split(" -p")[1].split(" -hmysql")[0]
463
# write password to env file
464
with open(join(servicedir, service_name, env_file), "a") as outfile:
465
- outfile.write("{}_DB_PASSWORD={}".format(db_key, db_password))
+ outfile.write("{}_DB_PASS={}".format(db_key, db_password))
466
467
# clean up and delete secret.env content, otherwise db is created again
468
with open(join(dir, "tmp", "secret.env"), "w"):
0 commit comments