Update .env.example

This commit is contained in:
Xboard 2023-11-16 02:21:16 +08:00 committed by GitHub
parent cd5beafc0d
commit 02aaf8a02c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,12 +28,10 @@ REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null REDIS_PASSWORD=null
REDIS_PORT=6379 REDIS_PORT=6379
#默认启用redis,防止报错,在安装redis后自行将file改为redis提升性能 #默认将队列驱动和缓存驱动都修改为了redis请务必安装redis
BROADCAST_DRIVER=log BROADCAST_DRIVER=log
CACHE_DRIVER=file CACHE_DRIVER=redis
QUEUE_CONNECTION=file QUEUE_CONNECTION=redis
SESSION_DRIVER=file
SESSION_LIFETIME=120
MAIL_DRIVER=smtp MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io MAIL_HOST=smtp.mailtrap.io