public function getScale()
    {

        // Get current scale of app service
        $process = new Process('docker-compose ps -q app', $this->getDockerComposePath());
        $process->run();
        if (!$process->isSuccessful()) {
            return false;
        }
        $container_list = trim($process->getOutput());
        $lines = explode(PHP_EOL, $container_list);
        $app_scale = count($lines);
        return $app_scale;
    }