mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
fix: 初始化项目 .env 配置案例
This commit is contained in:
parent
271f7481da
commit
79c5ced555
22
.env.example
Normal file
22
.env.example
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# 数据配置
|
||||||
|
DB_TYPE=sqlite
|
||||||
|
DB_MYSQL_HOST=thinkadmin.top
|
||||||
|
DB_MYSQL_PORT=3306
|
||||||
|
DB_MYSQL_PREFIX=
|
||||||
|
DB_MYSQL_DATABASE=admin_v6
|
||||||
|
DB_MYSQL_USERNAME=root
|
||||||
|
DB_MYSQL_PASSWORD=
|
||||||
|
|
||||||
|
# 缓存配置
|
||||||
|
CACHE_TYPE=file
|
||||||
|
CACHE_REDIS_HOST=127.0.0.1
|
||||||
|
CACHE_REDIS_PORT=6379
|
||||||
|
CACHE_REDIS_SELECT=
|
||||||
|
CACHE_REDIS_PASSWORD=
|
||||||
|
|
||||||
|
# 会话配置
|
||||||
|
SESSION_NAME=ssid
|
||||||
|
SESSION_TYPE=file
|
||||||
|
SESSION_STORE=
|
||||||
|
SESSION_EXPIRE=7200
|
||||||
|
SESSION_PREFIX=
|
Loading…
x
Reference in New Issue
Block a user