XuqmGroup-Server/im-service/src/main/resources/application.yml
2026-05-07 19:39:42 +08:00

57 行
1.3 KiB
YAML

server:
port: 8082
spring:
application:
name: im-service
datasource:
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
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
minimum-idle: 5
maximum-pool-size: 20
connection-timeout: 30000
idle-timeout: 300000
max-lifetime: 900000
jpa:
hibernate:
ddl-auto: update
show-sql: false
properties:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
data:
redis:
host: redisdev.xuqinmin.com
port: 6379
password: xuqinmin1022
database: 2
timeout: 10s
lettuce:
pool:
min-idle: 0
max-idle: 8
max-active: 8
jackson:
time-zone: UTC
serialization:
write-dates-as-timestamps: false
jwt:
secret: ${XUQM_JWT_SECRET:xuqm-tenant-service-secret-key-must-be-at-least-256-bits-long-for-hmac}
expiration: 0
im:
tenant-service-url: ${TENANT_SERVICE_URL:http://127.0.0.1:9001}
internal-token: ${SDK_INTERNAL_TOKEN:xuqm-internal-token}
push-service-url: ${PUSH_SERVICE_URL:http://127.0.0.1:8083}
multi-login: true
message-history-days: 30
webhook-timeout-ms: 3000
logging:
level:
com.xuqm: DEBUG