diff --git a/.env.example b/.env.example new file mode 100644 index 000000000..644b2bd85 --- /dev/null +++ b/.env.example @@ -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= \ No newline at end of file