2026-04-21 22:07:29 +08:00
|
|
|
server:
|
|
|
|
|
port: 8082
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
application:
|
|
|
|
|
name: im-service
|
|
|
|
|
datasource:
|
2026-04-21 23:11:05 +08:00
|
|
|
url: jdbc:mysql://39.107.53.187:3306/xuqm_im?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
|
|
|
|
|
username: xuqm
|
|
|
|
|
password: Xuqm@2026
|
2026-04-21 22:07:29 +08:00
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
2026-04-21 23:11:05 +08:00
|
|
|
hikari:
|
|
|
|
|
minimum-idle: 5
|
|
|
|
|
maximum-pool-size: 20
|
|
|
|
|
connection-timeout: 30000
|
|
|
|
|
idle-timeout: 300000
|
|
|
|
|
max-lifetime: 900000
|
2026-04-21 22:07:29 +08:00
|
|
|
jpa:
|
|
|
|
|
hibernate:
|
|
|
|
|
ddl-auto: update
|
|
|
|
|
show-sql: false
|
|
|
|
|
properties:
|
|
|
|
|
hibernate:
|
|
|
|
|
dialect: org.hibernate.dialect.MySQLDialect
|
|
|
|
|
data:
|
|
|
|
|
redis:
|
2026-04-21 23:11:05 +08:00
|
|
|
host: redisdev.xuqinmin.com
|
2026-04-21 22:07:29 +08:00
|
|
|
port: 6379
|
2026-04-21 23:11:05 +08:00
|
|
|
password: xuqinmin1022
|
|
|
|
|
database: 2
|
|
|
|
|
timeout: 10s
|
|
|
|
|
lettuce:
|
|
|
|
|
pool:
|
|
|
|
|
min-idle: 0
|
|
|
|
|
max-idle: 8
|
|
|
|
|
max-active: 8
|
2026-04-21 22:07:29 +08:00
|
|
|
jackson:
|
|
|
|
|
time-zone: UTC
|
|
|
|
|
serialization:
|
|
|
|
|
write-dates-as-timestamps: false
|
|
|
|
|
|
|
|
|
|
jwt:
|
2026-04-24 16:46:38 +08:00
|
|
|
secret: ${XUQM_JWT_SECRET:xuqm-tenant-service-secret-key-must-be-at-least-256-bits-long-for-hmac}
|
2026-04-21 22:07:29 +08:00
|
|
|
expiration: 86400000
|
|
|
|
|
|
|
|
|
|
im:
|
2026-04-27 23:41:58 +08:00
|
|
|
tenant-service-url: ${TENANT_SERVICE_URL:http://xuqm-tenant-service:8081}
|
|
|
|
|
internal-token: ${SDK_INTERNAL_TOKEN:xuqm-internal-token}
|
2026-04-28 09:45:20 +08:00
|
|
|
push-service-url: ${PUSH_SERVICE_URL:http://xuqm-push-service:8083}
|
2026-04-21 22:07:29 +08:00
|
|
|
multi-login: true
|
|
|
|
|
message-history-days: 30
|
|
|
|
|
webhook-timeout-ms: 3000
|
|
|
|
|
|
|
|
|
|
logging:
|
|
|
|
|
level:
|
|
|
|
|
com.xuqm: DEBUG
|