37 lines
602 B
Bash
37 lines
602 B
Bash
# 应用配置
|
|
APP_NAME="测试应用"
|
|
APP_ENV=development
|
|
APP_DEBUG=true
|
|
APP_URL=http://localhost:8000
|
|
|
|
# 数据库配置
|
|
DB_CONNECTION=mysql
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=3306
|
|
DB_DATABASE=test_db
|
|
DB_USERNAME=root
|
|
DB_PASSWORD="secret123"
|
|
|
|
# 缓存配置
|
|
CACHE_DRIVER=redis
|
|
SESSION_DRIVER=file
|
|
QUEUE_CONNECTION=sync
|
|
|
|
# Redis配置
|
|
REDIS_HOST=127.0.0.1
|
|
REDIS_PASSWORD=null
|
|
REDIS_PORT=6379
|
|
|
|
# 邮件配置
|
|
MAIL_MAILER=smtp
|
|
MAIL_HOST=smtp.gmail.com
|
|
MAIL_PORT=587
|
|
MAIL_USERNAME=test@example.com
|
|
MAIL_PASSWORD="email_password"
|
|
|
|
# 其他配置
|
|
ENABLE_FEATURE=true
|
|
MAX_CONNECTIONS=100
|
|
TIMEOUT=30.5
|
|
LOG_LEVEL=info
|