feat: 完善环境标识配置

This commit was merged in pull request #1.
This commit is contained in:
湛兮
2026-06-05 15:35:51 +08:00
parent c0b561b6cb
commit efa71ede6d
6 changed files with 61 additions and 20 deletions
+14
View File
@@ -0,0 +1,14 @@
NODE_ENV=development
APP_ENV=local
APP_ENV_LABEL=本地环境
PORT=3500
DB_HOST=127.0.0.1
DB_PORT=3307
DB_USER=access_user
DB_PASSWORD=replace-with-local-password
DB_NAME=access_manage
DB_CONNECTION_LIMIT=10
JWT_SECRET=replace-with-at-least-32-characters-local-secret
JWT_EXPIRES_IN=2h
+1 -1
View File
@@ -1,5 +1,5 @@
NODE_ENV=test
APP_ENV=test
APP_ENV=develop
APP_ENV_LABEL=测试环境
PORT=3501