-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathapplication.properties
54 lines (44 loc) · 1.58 KB
/
application.properties
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
51
52
server.port=8083
## ---- database
## data source
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/app_server?useSSL=false&useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
spring.datasource.username=root
spring.datasource.password=123456
spring.datasource.hikari.maximum-pool-size=50
spring.datasource.hikari.minimum-idle=20
## jpa
spring.jpa.show_sql=false
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.generate_statistics=false
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL57Dialect
spring.jpa.hibernate.ddl-auto=validate
## Service Registry
spring.application.name=easemob-im-live-server
spring.cloud.consul.enabled=false
# rest appkey
easemob.live.rest.appkey.orgName=xxx
easemob.live.rest.appkey.appName=xxx
easemob.live.rest.appkey.clientId=xxx
easemob.live.rest.appkey.clientSecret=xxx
# rest http client
easemob.live.rest.baseUrl=http://a1.easemob.com
# liveroom limit
easemob.live.limit.batchMaxSize=100
easemob.live.limit.maxAffiliationsSize=200
## agora CDN直播相关参数
easemob.agora.cdn.appid=xxx
easemob.agora.cdn.pushDomain=xxx
easemob.agora.cdn.rtmpDomain=xxx
easemob.agora.cdn.flvDomain=xxx
easemob.agora.cdn.hlsDomain=xxx
easemob.agora.cdn.pushPoint=live
easemob.agora.cdn.expire=600
## qiniu,需要注册七牛直播云服务并获取相关参数
easemob.qiniu.accessKey=xxx
easemob.qiniu.secretKey=xxx
easemob.qiniu.publishDomain=xxx
easemob.qiniu.rtmpDomain=xxx
easemob.qiniu.hlsDomain=xxx
easemob.qiniu.hdlDomain=xxx
easemob.qiniu.hub=xxx