Files
xservice-auth-center/xs-server/src/main/resources/application-local.yml
2025-09-06 22:57:47 +08:00

47 lines
1.4 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:
cloud:
nacos:
discovery:
group: DEFAULT_GROUP
namespace: 00131110-3ecb-4a35-8bbb-624edde1d937
server-addr: general.xiangtech.xyz:8848
username: nacos
password: nacos
datasource:
dynamic:
primary: master
datasource:
master:
url: jdbc:mysql://rm-bp15t34gqx62jm069ro.mysql.rds.aliyuncs.com:3306/xservice-user?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true
username: root
password: xb#UWqnhH24&XpX
driver-class-name: com.mysql.cj.jdbc.Driver
sshConnect: false
redis:
host: r-bp1wt59a6nfyt4e3ltpd.redis.rds.aliyuncs.com
port: 6379
password: Xiang0000 # 如果无密码可以省略
database: 0
timeout: 5000
lettuce:
pool:
max-active: 8
max-idle: 8
min-idle: 0
max-wait: 1000
user:
auth:
issuer: http://127.0.0.1:38011
# Web 应用前端回调地址:
# http://localhost:8080/login/oauth2/code/oauth-client-init
# Postman 测试用:
# https://oauth.pstmn.io/v1/callback
# 移动端 APP 自定义 Scheme
# myapp://callback
redirectUrl: http://localhost:8080/login/oauth2/code/oauth-client-init
aliyun:
auth:
accessKeyId: LTAI5tDMjaVF8Bbqcpp4dmvP
accessKeySecret: nkmnaNjWQy5984C5kjyS0oDmdMKGQd