no message

This commit is contained in:
kuaifan
2025-05-05 08:04:09 +08:00
parent 8c18865138
commit cc9f346d49
2 changed files with 132 additions and 31 deletions

View File

@@ -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);
}