XuqmGroup-Server/im-service/src/main/resources/application.yml

40 行
826 B
YAML

2026-04-21 22:07:29 +08:00
server:
port: 8082
spring:
application:
name: im-service
datasource:
url: jdbc:mysql://localhost:3306/xuqm_im?useSSL=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
username: root
password: root
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
hibernate:
ddl-auto: update
show-sql: false
properties:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
data:
redis:
host: localhost
port: 6379
jackson:
time-zone: UTC
serialization:
write-dates-as-timestamps: false
jwt:
secret: xuqm-im-service-secret-key-must-be-at-least-256-bits-long-for-hmac-sha
expiration: 86400000
im:
multi-login: true
message-history-days: 30
webhook-timeout-ms: 3000
logging:
level:
com.xuqm: DEBUG