From 065e66a99221f6a24e0813a69426bf8c9aa2f9b2 Mon Sep 17 00:00:00 2001 From: hbk01 <3243430237@qq.com> Date: Fri, 19 Jan 2024 18:53:39 +0800 Subject: [PATCH] =?UTF-8?q?conf:=20=E4=BF=AE=E6=94=B9=20pm2=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pm2.config.cjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pm2.config.cjs b/pm2.config.cjs index 35cf586..8de670a 100644 --- a/pm2.config.cjs +++ b/pm2.config.cjs @@ -11,7 +11,10 @@ module.exports = { env: { "NODE_ENV": "production", "PORT": 80, - "DATABASE_URL": "mongodb://localhost:27017/labplus" + "DATABASE_URL": "localhost:27017", + "DATABASE_NAME": "labplus", + "DATABASE_USER": "", + "DATABASE_PASSWORD": "", } }] } \ No newline at end of file