server:
  port: 5002
spring:
  data:
    redis:
      ##redis 单机环境配置
      host: localhost
      port: 6379
      database: 0
      password:
      ssl:
        enabled: false
  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
  cloud:
    nacos:
      config:
        import-check:
          enabled: false
seata:
  enable-auto-data-source-proxy: true
  service:
    grouplist:
      default: 127.0.0.1:8091
    vgroup-mapping:
      springboot-seata-group: default
  # seata 事务组编号 用于TC集群名
  tx-service-group: springboot-seata-group