mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 06:37:46 +00:00
Align docker-compose logs
invocation to the docker-compose up
call
This commit is contained in:
parent
486e5c5794
commit
d08bc10bb6
@ -144,7 +144,7 @@ def init_mysql(root):
|
||||
click.echo(fmt.info(" waiting for mysql initialization"))
|
||||
logs = subprocess.check_output([
|
||||
"docker-compose", "-f", tutor_env.pathjoin(root, "local", "docker-compose.yml"),
|
||||
"logs", "mysql",
|
||||
"--project-name", "tutor_local", "logs", "mysql",
|
||||
])
|
||||
if b"MySQL init process done. Ready for start up." in logs:
|
||||
click.echo(fmt.info("MySQL database initialized"))
|
||||
|
Loading…
Reference in New Issue
Block a user