48 lines
976 B
YAML
48 lines
976 B
YAML
spring:
|
|
profiles:
|
|
active: prod
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
password: Mars@23600800
|
|
url: jdbc:mysql://172.16.2.3:3306/im-core?serverTimezone=UTC&useSSL=false&characterEncoding=UTF8
|
|
username: root
|
|
hikari:
|
|
max-lifetime: 50000
|
|
|
|
application:
|
|
name: app.service
|
|
|
|
# logger 配置
|
|
logging:
|
|
config: classpath:logback-spring.xml
|
|
|
|
server:
|
|
port: 8989
|
|
|
|
mybatis-plus:
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
mapper-locations: classpath*:mapper/*.xml
|
|
global-config:
|
|
db-config:
|
|
update-strategy: NOT_EMPTY
|
|
|
|
mybatis:
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
appConfig:
|
|
imUrl: http://172.16.2.3:28000
|
|
imVersion: v1
|
|
appId: 10000
|
|
adminId: admin
|
|
privateKey: 123456
|
|
|
|
httpclient:
|
|
maxTotal: 100
|
|
defaultMaxPerRoute: 50
|
|
connectTimeout: 2000
|
|
connectionRequestTimeout: 2000
|
|
socketTimeout: 5000
|
|
staleConnectionCheckEnabled: true
|