mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-02-06 10:35:32 +08:00
29 lines
945 B
YAML
29 lines
945 B
YAML
server:
|
|
port: 5002
|
|
spring:
|
|
application:
|
|
name: seata-account
|
|
main:
|
|
allow-bean-definition-overriding: true
|
|
autoconfigure:
|
|
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
|
datasource:
|
|
dynamic:
|
|
seata: true # 开启对 seata的支持
|
|
primary: account
|
|
datasource:
|
|
account:
|
|
url: jdbc:mysql://127.0.0.1:3306/jeecg_account?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
|
|
username: root
|
|
password: root
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
schema: classpath:sql/schema-account.sql
|
|
seata:
|
|
enable-auto-data-source-proxy: false
|
|
service:
|
|
grouplist:
|
|
default: 127.0.0.1:8091
|
|
vgroup-mapping:
|
|
springboot-seata-group: default
|
|
# seata 事务组编号 用于TC集群名
|
|
tx-service-group: springboot-seata-group |