application.yaml 879 Bytes
server:
  port: 8013

spring:
  application:
    name: project-order
  cloud:
    nacos:
      discovery:
        server-addr: nacos-server:8848
        group: project
      config:
        server-addr: nacos-server:8848
        group: project
        file-extension: yaml
  config:
    import:
      - optional:nacos:project-order.yaml
      - optional:nacos:datasource-config.yaml
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://10.10.0.116:3306/saas_aftersale_test?serverTimezone=UTC
    username: root
    password: 123456
    type: com.alibaba.druid.pool.DruidDataSource

logging:
  level:
    root: ${LOG_LEVEL:INFO}

seata:
  application-id: ${spring.application.name}
  tx-service-group: ${spring.application.name}-group
  service:
    vgroup-mapping:
      project-order-group: default
    grouplist:
      default: seata-server:8091