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

86 行
1.8 KiB
YAML

2026-04-21 22:07:29 +08:00
server:
port: 8081
spring:
application:
name: tenant-service
datasource:
url: jdbc:mysql://39.107.53.187:3306/xuqm_tenant?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
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
format_sql: true
data:
redis:
host: redisdev.xuqinmin.com
2026-04-21 22:07:29 +08:00
port: 6379
password: xuqinmin1022
database: 1
timeout: 10s
lettuce:
pool:
min-idle: 0
max-idle: 8
max-active: 8
2026-04-21 22:07:29 +08:00
mail:
host: smtp.sina.com
port: 465
username: xuqinmin12@sina.com
password: b90335654901c9e9
2026-04-21 22:07:29 +08:00
properties:
mail:
smtp:
auth: true
ssl:
2026-04-21 22:07:29 +08:00
enable: true
starttls:
enable: false
2026-04-21 22:07:29 +08:00
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}
2026-04-21 22:07:29 +08:00
expiration: 86400000
captcha:
expire-seconds: 300
email-verify:
expire-seconds: 600
sub-account-token-hours: 24
ops:
admin:
username: admin
password: Admin@123456
logging:
level:
com.xuqm: DEBUG
management:
endpoints:
web:
exposure:
include: health,info
sdk:
im-ws-url: ${SDK_IM_WS_URL:wss://sentry.xuqinmin.com/ws/im}
file-service-url: ${SDK_FILE_SERVICE_URL:https://sentry.xuqinmin.com}
im-api-url: ${SDK_IM_API_URL:https://sentry.xuqinmin.com}