chore(env): 增加test环境变量

This commit is contained in:
2025-12-24 10:47:21 +08:00
parent 224c2a3117
commit 15720c6a62
3 changed files with 49 additions and 118 deletions

24
src/.env.test Normal file
View File

@@ -0,0 +1,24 @@
APP_DEBUG = true
APP_TRACE = true
[APP]
DEFAULT_TIMEZONE = Asia/Shanghai
[LANG]
default_lang = zh-cn
[DATABASE]
TYPE = mysql
HOSTNAME = db
DATABASE = shop_mallnew
USERNAME = shop_mallnew
PASSWORD = shop_mallnew
HOSTPORT = 3306
CHARSET = utf8mb4
DEBUG = true
[REDIS]
HOST = redis
PORT = 6379
PASSWORD = 'luckyshop123!@#'
EXPIRY = 604800