forked from gzydong/hyperf-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
50 lines (44 loc) · 944 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
49
50
# ---- 基础配置 ----
APP_NAME=hyperf-chat
APP_ENV=dev
# ---- Mysql 配置 ----
DB_DRIVER=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=hyperf
DB_USERNAME=root
DB_PASSWORD=
DB_CHARSET=utf8mb4
DB_COLLATION=utf8mb4_unicode_ci
DB_PREFIX=im_
# ---- Redis 配置 ----
REDIS_HOST=localhost
REDIS_AUTH=(null)
REDIS_PORT=6379
REDIS_DB=0
# ---- JWT授权配置 ----
# 务必改为你自己的字符串
SIMPLE_JWT_SECRET=lumneim
JWT_HEADER_NAME=Authorization
SIMPLE_JWT_PREFIX=jwt
# ---- 项目配置 ----
WEB_URL=http://im.gzydong.club
IMG_URL=http://im-img0.gzydong.club
UPLOAD_PATH=/www/data/lumenim
## 管理员邮箱
ADMIN_EMAIL=
# ---- 邮件配置 ----
MAIL_DRIVER=smtp
MAIL_HOST=smtp.163.com
MAIL_PORT=465
MAIL_USERNAME=xxxxx
MAIL_PASSWORD=xxxx
MAIL_FROM_NAME="xxxxx"
MAIL_ENCRYPTION=ssl
# ---- Rabbit MQ 配置 ----
AMQP_HOST=127.0.0.1
AMQP_PORT=5672
AMQP_USER=guest
AMQP_PASSWORD=guest
AMQP_VHOST=/im