fix: 初始化项目 .env 配置案例

This commit is contained in:
邹景立 2024-10-17 11:25:39 +08:00
parent 271f7481da
commit 79c5ced555

22
.env.example Normal file
View 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=