application-pro.yaml 1.11 KB
server:
  port: 8000

spring:
  application:
    name: project-user
  cloud:
    nacos:
      discovery:
        server-addr: 10.86.17.170:8848
        group: project
      config:
        server-addr: 10.86.17.170:8848
        group: project
        file-extension: yaml
  config:
    import:
      - optional:nacos:redis-config.yaml?group=project&refreshEnabled=true
  main:
    allow-bean-definition-overriding: true
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    #url: jdbc:mysql://10.10.0.116:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
    url: jdbc:mysql://awnmysqlricepeasespp.ck9nfg94fzy7.rds.cn-northwest-1.amazonaws.com.cn:3306/saas_aftersale_test?serverTimezone=Asia/Shanghai
    username: admin
    password: hD1ruNVonX9WOA1LNkFJ
    type: com.alibaba.druid.pool.DruidDataSource
  kafka:
    bootstrap-servers: http://kafka:9092
    consumer:
      group-id: mpGroup



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