You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
773 B
41 lines
773 B
1 year ago
|
################
|
||
|
# 应用基础配置
|
||
|
################
|
||
|
|
||
|
# 设置运行环境,开设置的值有 dev、test、prod
|
||
|
APP_ENV=dev
|
||
|
# 配置时区(预留配置,暂未生效)
|
||
|
APP_TIMEZONE=
|
||
|
|
||
|
|
||
|
################
|
||
|
# 数据库配置
|
||
|
################
|
||
|
|
||
|
# 数据库驱动,支持 sqlite3、mysql、sqlserver、pgsql
|
||
|
DB_DRIVER=
|
||
|
# 数据库连接配置
|
||
|
DB_DSN=
|
||
|
# 数据表前缀
|
||
|
DB_PREFIX=
|
||
|
# MySQL存储引擎
|
||
|
DB_STORE_ENGINE=
|
||
|
# 最大闲置连接数
|
||
|
DB_MAX_IDLE_CONNS=
|
||
|
# 最大打开连接数
|
||
|
DB_MAX_OPEN_CONNS=
|
||
|
# 连接最大有效时长
|
||
|
DB_CONN_MAX_LIFETIME=
|
||
|
# 是不是代码优先模式,只有开启此选项后才能够
|
||
|
# 使用自动迁移功能同步表结构到数据库
|
||
|
DB_CODE_FIRST=
|
||
|
|
||
|
|
||
|
|
||
|
################
|
||
|
# 授权认证
|
||
|
################
|
||
|
|
||
|
JWT_PRIVATE_KEY=
|
||
|
JWT_PUBLIC_KEY=
|