2020-11-13 23:09:56 +08:00
|
|
|
# ---- 基础配置 ----
|
2020-11-03 14:07:54 +08:00
|
|
|
APP_NAME=hyperf-chat
|
2020-11-02 22:45:37 +08:00
|
|
|
APP_ENV=dev
|
|
|
|
|
2020-11-13 23:09:56 +08:00
|
|
|
# ---- Mysql 配置 ----
|
2020-11-02 22:45:37 +08:00
|
|
|
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
|
2021-05-23 17:43:49 +08:00
|
|
|
DB_PREFIX=im_
|
2020-11-02 22:45:37 +08:00
|
|
|
|
2020-11-13 23:09:56 +08:00
|
|
|
# ---- Redis 配置 ----
|
2020-11-02 22:45:37 +08:00
|
|
|
REDIS_HOST=localhost
|
|
|
|
REDIS_AUTH=(null)
|
|
|
|
REDIS_PORT=6379
|
2020-11-03 14:07:54 +08:00
|
|
|
REDIS_DB=0
|
2020-11-04 16:47:17 +08:00
|
|
|
|
2020-11-13 23:09:56 +08:00
|
|
|
# ---- JWT授权配置 ----
|
2020-11-04 16:47:17 +08:00
|
|
|
# 务必改为你自己的字符串
|
2021-05-23 17:43:49 +08:00
|
|
|
SIMPLE_JWT_SECRET=lumneim
|
|
|
|
JWT_HEADER_NAME=Authorization
|
|
|
|
SIMPLE_JWT_PREFIX=jwt
|
2020-11-13 23:09:56 +08:00
|
|
|
|
|
|
|
# ---- 项目配置 ----
|
|
|
|
WEB_URL=http://im.gzydong.club
|
|
|
|
IMG_URL=http://im-img0.gzydong.club
|
|
|
|
UPLOAD_PATH=/www/data/lumenim
|
|
|
|
IP_ADDRESS=0.0.0.0
|
2020-11-14 17:37:55 +08:00
|
|
|
|
|
|
|
# ---- 邮件配置 ----
|
|
|
|
MAIL_DRIVER=smtp
|
|
|
|
MAIL_HOST=smtp.163.com
|
|
|
|
MAIL_PORT=465
|
2020-12-01 22:50:43 +08:00
|
|
|
MAIL_USERNAME=xxxxx
|
|
|
|
MAIL_PASSWORD=xxxx
|
|
|
|
MAIL_FROM_ADDRESS=xxxx@163.com
|
|
|
|
MAIL_FROM_NAME="xxxxx"
|
2020-11-14 17:37:55 +08:00
|
|
|
MAIL_ENCRYPTION=ssl
|
2020-11-28 19:59:10 +08:00
|
|
|
|
|
|
|
# ---- Rabbit MQ 配置 ----
|
|
|
|
AMQP_HOST=127.0.0.1
|
|
|
|
AMQP_PORT=5672
|
|
|
|
AMQP_USER=guest
|
|
|
|
AMQP_PASSWORD=guest
|
2020-12-19 21:04:59 +08:00
|
|
|
AMQP_VHOST=/im
|