-
-
Notifications
You must be signed in to change notification settings - Fork 577
Expand file tree
/
Copy path.env.example
More file actions
37 lines (30 loc) · 642 Bytes
/
.env.example
File metadata and controls
37 lines (30 loc) · 642 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
APP_NAME=OLAINDEX
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=http://localhost:8000
# 屏蔽 PHP 8.4+ 弃用警告 (Laravel 8 不完全兼容 PHP 8.4)
# 如需开发调试,设置为 true
REPORT_DEPRECATIONS=false
LOG_CHANNEL=daily
#sqlite/mysql
DB_CONNECTION=sqlite
#DB_HOST=127.0.0.1
#DB_PORT=3306
#DB_DATABASE=homestead
#DB_USERNAME=homestead
#DB_PASSWORD=secret
# 缓存配置
# file/memcached/redis
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
# redis配置
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
# API 访问白名单
API_LIMIT=127.0.0.1,192.168.1.1
# 代理
PROXY=