application.yaml 1.43 KB
server:
  port: 8013

spring:
  application:
    name: project-order
  jackson:
    default-property-inclusion: NON_NULL
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
  cloud:
    nacos:
      discovery:
        server-addr: nacos-server:8848
        group: project
      config:
        server-addr: nacos-server:8848
        group: project
        file-extension: yaml
        import-check:
          # no config file
          enabled: false
  #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=Asia/Shanghai
    username: root
    password: 123456
    type: com.alibaba.druid.pool.DruidDataSource

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

mybatis-plus:
  global-config:
    db-config:
      id-type: auto
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

sentry:
  dsn: http://85293a9310fc4a8187422a7a257fc1ba@sentry.zjhuixinyun.com/8

  # Set traces_sample_rate to 1.0 to capture 100%
  # of transactions for performance monitoring.
  # We recommend adjusting this value in production.
  tracesSampleRate: 1.0
  exception-resolver-order: -2147483647