Files
xiu_b/src/main/resources/application-test.yml
T
2026-08-09 14:59:14 +08:00

73 lines
2.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
spring:
application:
name: guess-game
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://13.212.30.9:3306/guess_game?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&characterEncoding=utf8
username: app_user
password: ${DB_PASSWORD:dhOmjPJ2321wq!.}
data:
redis:
host: ${REDIS_HOST:127.0.0.1}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:ejgheyg2@eHSY2!.}
database: ${REDIS_DB:0}
timeout: 5000ms
lettuce:
pool:
max-active: 8
max-wait: -1ms
max-idle: 8
min-idle: 0
server:
port: 9080
mybatis-plus:
mapper-locations: classpath:mapper/**/*.xml
type-aliases-package: com.tailbet.entity
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
global-config:
db-config:
id-type: auto
logic-delete-field: deleted
logic-delete-value: 1
logic-not-delete-value: 0
openim:
# OpenIM REST API 外网地址(必填),下发给客户端 httpUrl
apiUrl: https://openim.xiu6688.com
# OpenIM REST API 内网地址(可选),服务端调用,未配置则回落 apiUrl
internalApiUrl: http://172.31.5.16:10002
# OpenIM WebSocket 外网地址(必填),下发给客户端用于 IM SDK 初始化
wsUrl: wss://im.xiu6688.com
# OpenIM 管理员密钥(必填),用于获取 adminToken
secret: d71c0861267DM23adg
# OpenIM 管理员用户 ID(默认 imAdmin)
adminUserId: imAdmin
# 应用标识(默认 socialapp
appId: socialapp
# adminToken 有效期秒数(默认 82800,即 23 小时)
tokenExpireSeconds: 82800
# 调用 OpenIM 接口的连接超时时间毫秒(默认 5000)
connectTimeoutMs: 5000
# 调用 OpenIM 接口的读取超时时间毫秒(默认 10000)
readTimeoutMs: 10000
# Webhook 签名密钥(可选),用于校验 OpenIM 回调请求
webhookSecret: your-webhook-secret
jwt:
secret: ${JWT_SECRET:ecc6de473d6f4e0fbdaf5ea899fd2e26}
expiration: 604800000
logging:
level:
com.tailbet: info