no message
This commit is contained in:
@@ -4,7 +4,6 @@ namespace App\Http\Controllers\Api;
|
||||
|
||||
|
||||
use App\Module\Apps\Apps;
|
||||
use App\Module\Base;
|
||||
|
||||
/**
|
||||
* @apiDefine apps
|
||||
@@ -17,18 +16,6 @@ class AppsController extends AbstractController
|
||||
public function up()
|
||||
{
|
||||
$appName = 'MysqlExposePort';
|
||||
|
||||
$dirPath = base_path('docker/apps/' . $appName);
|
||||
$filePath = $dirPath . '/docker-compose.yml';
|
||||
$savePath = $dirPath . '/docker-compose.doo.yml';
|
||||
|
||||
$res = Apps::generateDockerComposeYml($filePath, $savePath, [
|
||||
'PROXY_PORT' => '33062',
|
||||
]);
|
||||
if (!$res) {
|
||||
return Base::retError('生成docker-compose.yml失败');
|
||||
}
|
||||
|
||||
return Apps::dockerComposeUp($appName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user