Commit 91f66e59 authored by 王曜嵚 Wang Yaoqin's avatar 王曜嵚 Wang Yaoqin

dev: 调试时生成配置文件

parent 7601aefb
......@@ -53,6 +53,10 @@ export default defineEventHandler(async (event) => {
await copyAndCreateNginxConfInDocker(username)
LogUtil.print(username, `[progress] [[1;34mLoading[m] 启动 Nginx ...... \n`)
await docker.execContainerCommand({ container, cmd: 'nginx'})
await copyAndCreateServerPropertiesV2InDocker(username)
await copyAndCreateGatewayPropertiesV2InDocker(username)
LogUtil.print(username, `[progress] [[1;34mInfo[m] 程序启动中...... \n`)
try {
await docker.execContainerCommand({ container, cmd: 'pm2 delete backend' })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment