19de7e24ec
从 docs-local 迁移以下文档: - backend/guides/: AI开发环境配置、Nacos配置、GitNexus指南、OpenCode工作流等 - backend/templates/: Superpowers设计模板、计划模板、审查清单 - backend/config-templates/: 应用配置模板、Nacos配置 - backend/design/: 数据库表结构规划 - backend/specs/: 项目文档治理、MQ统一推送设计 - backend/: 代码分析报告、Feign分析报告、文档治理报告 - frontend/design/: Admin-UI分模块打包设计
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
# rui-common.yaml — 所有模块共享
|
|
# Data ID: rui-common.yaml
|
|
# Group: DEFAULT_GROUP
|
|
# 用途: 全局通用配置(Redis、Jackson、JWT、安全白名单)
|
|
|
|
spring:
|
|
rabbitmq:
|
|
host: ${RABBITMQ_HOST:192.168.31.210}
|
|
port: ${RABBITMQ_PORT:5672}
|
|
username: ${RABBITMQ_USERNAME:vifo}
|
|
password: ${RABBITMQ_PASSWORD:!QW3e4r2023}
|
|
data:
|
|
redis:
|
|
host: ${REDIS_HOST:192.168.31.210}
|
|
port: ${REDIS_PORT:6379}
|
|
password: ${REDIS_PASSWORD:123456}
|
|
database: 0
|
|
timeout: 3000ms
|
|
lettuce:
|
|
pool:
|
|
max-active: 8
|
|
max-idle: 8
|
|
min-idle: 0
|
|
max-wait: -1ms
|
|
jackson:
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
time-zone: GMT+8
|
|
default-property-inclusion: non_null
|
|
security:
|
|
oauth2:
|
|
ignore-urls:
|
|
- /entry/**
|
|
- /notify/**
|
|
- /actuator/**
|
|
|
|
# MyBatis Plus 全局配置
|
|
mybatis-plus:
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
cache-enabled: true
|
|
|
|
# Feign 服务提供者配置(默认走聚合启动器,独立模式请在各服务配置中覆盖)
|
|
feign:
|
|
providers:
|
|
user: rui-service-starter # 用户服务:默认指向聚合启动器
|
|
system: rui-service-starter # 系统服务:默认指向聚合启动器
|
|
auth: rui-auth # 认证中心:保持独立
|