mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-10-14 06:00:23 +00:00
62 lines
1.3 KiB
YAML
62 lines
1.3 KiB
YAML
server:
|
|
port: 8800
|
|
servlet:
|
|
context-path: /easy-retry
|
|
|
|
spring:
|
|
application:
|
|
name: ruoyi-easyretry-server
|
|
profiles:
|
|
active: @profiles.active@
|
|
web:
|
|
resources:
|
|
static-locations: classpath:admin/
|
|
|
|
mybatis-plus:
|
|
typeAliasesPackage: com.aizuda.easy.retry.template.datasource.persistence.po
|
|
global-config:
|
|
db-config:
|
|
where-strategy: NOT_EMPTY
|
|
capital-mode: false
|
|
logic-delete-value: 1
|
|
logic-not-delete-value: 0
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
cache-enabled: true
|
|
|
|
logging:
|
|
config: classpath:logback-plus.xml
|
|
|
|
management:
|
|
# 解决 er 服务有 context-path 无法监控问题
|
|
server:
|
|
port: 8801
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: '*'
|
|
endpoint:
|
|
health:
|
|
show-details: ALWAYS
|
|
logfile:
|
|
external-file: ./logs/${spring.application.name}/console.log
|
|
|
|
--- # nacos 配置
|
|
spring:
|
|
cloud:
|
|
nacos:
|
|
# nacos 服务地址
|
|
server-addr: @nacos.server@
|
|
discovery:
|
|
# 注册组
|
|
group: @nacos.discovery.group@
|
|
namespace: ${spring.profiles.active}
|
|
config:
|
|
# 配置组
|
|
group: @nacos.config.group@
|
|
namespace: ${spring.profiles.active}
|
|
config:
|
|
import:
|
|
- optional:nacos:datasource.yml
|
|
- optional:nacos:${spring.application.name}.yml
|