chore: 更新dev环境 & 删除无用文件 & 增加输出

This commit is contained in:
zhaoyingbo 2024-09-20 09:54:18 +00:00
parent 2e65e73c13
commit dee4c49e9d
3 changed files with 9 additions and 11 deletions

@ -1,6 +1,12 @@
{
"name": "egg_server",
"image": "mcr.microsoft.com/devcontainers/typescript-node:20",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest",
"moby": true
}
},
"customizations": {
"vscode": {
"settings": {
@ -20,7 +26,8 @@
"YoavBls.pretty-ts-errors",
"ChakrounAnas.turbo-console-log",
"streetsidesoftware.code-spell-checker",
"MS-CEINTL.vscode-language-pack-zh-hans"
"MS-CEINTL.vscode-language-pack-zh-hans",
"Prisma.prisma"
]
}
},

@ -1,9 +0,0 @@
version: "3"
services:
egg_server:
image: git.yingbo.im:333/zhaoyingbo/egg_server:sha
container_name: egg_server
restart: always
ports:
- 3003:3000

@ -21,7 +21,7 @@ const server = Bun.serve({
// 非健康检查由打印必要信息
if (!fullCheck("/health")) {
ctx.logger.info(`${req.method} ${req.url}`)
logger.debug(`req body: ${ctx.text}`)
ctx.logger.debug(`req body: ${ctx.text}`)
}
// 逻辑处理
try {