You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

44 lines
1.1 KiB

spring:
application:
name: upms
profiles:
active: @profile.name@
cloud:
nacos:
discovery:
server-addr: @discovery.server-addr@
config:
server-addr: @config.server-addr@
group: @config.group@
namespace: @config.namespace@
file-extension: yaml
# 共享配置文件,排序越高后,优先级越高。
shared-configs:
- data-id: application-${spring.profiles.active}.yaml
group: @config.group@
refresh: true
sentinel:
eager: true
datasource:
ds1:
nacos:
server-addr: @config.server-addr@
data-id: ${spring.application.name}-${spring.profiles.active}-sentinel
group-id: @config.group@
data-type: json
# 如果是降级服务,需要改为degrade
rule-type: flow
main:
allow-bean-definition-overriding: true
allow-circular-references: true
seata:
client:
undo:
log-serialization: kryo
tx-service-group: default_tx_group
service:
grouplist:
default: 127.0.0.1:8091
vgroup-mapping:
default_tx_group: default