compose = $docker['compose']; } if ($hasCompose || $hasBuild) { register_command(new DockerUpCommand); register_command(new DockerDownCommand); register_command(new DockerStatusCommand); } if ($hasBuild) { register_command(new DockerBuildCommand); register_command(new DockerExecCommand); } register_command(new DockerDbExportCommand); } public function getComposeStack(): ?Stack { $base = $this->getProjectDirectory(); if (empty($this->composeStack)) { $composeFile = $base . "/" . ($this->compose['file']??'docker-compose.yml'); $this->composeStack = new Stack($composeFile); } return $this->composeStack; } } //if (file_exists(get_environment()->getConfigDirectory()."/maker.json")) { register_plugin("com.noccy.docker", new DockerPlug()); //}