-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
executable file
·52 lines (36 loc) · 824 Bytes
/
.env.example
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
38
39
40
41
42
43
44
45
46
47
48
# Framework
# ---------
YII_DEBUG = true
YII_ENV = dev
# Databases
# ---------
DB_DSN = mysql:host=127.0.0.1;port=3306;dbname=yii
DB_USERNAME = root
DB_PASSWORD = root1234
DB_TABLE_PREFIX = yii2cmf_
# Redis
# --------
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
# Mail
# ---------
MAIL_DRIVER=smtp
MAIL_HOST=smtp.163.com
MAIL_PORT=25
MAIL_USERNAME=your_mail_username
MAIL_PASSWORD=your_mail_password
MAIL_ENCRYPTION=null
# Other
# -----
FRONTEND_COOKIE_VALIDATION_KEY=<generated_key>
BACKEND_COOKIE_VALIDATION_KEY=<generated_key>
API_COOKIE_VALIDATION_KEY=<generated_key>
# Url美化
FRONTEND_PRETTY_URL = false
BACKEND_PRETTY_URL = false
# Urls
# ----
SITE_URL = https://localhost:8080
# 搜索驱动(xunsearch需要安装xunsearch服务端)
SEARCH_ENGINE = local