application-dev.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. server:
  2. port: 8081
  3. spring:
  4. application:
  5. name: jzg-auth
  6. cloud:
  7. nacos:
  8. server-addr: 192.168.0.250:8848
  9. username: nacos
  10. password: nacos
  11. config:
  12. file-extension: yaml
  13. namespace: 9fceaca4-c1d2-4bb8-aac9-f64d4b7de73c
  14. group: DEFAULT_GROUP
  15. discovery:
  16. namespace: 9fceaca4-c1d2-4bb8-aac9-f64d4b7de73c
  17. config:
  18. import:
  19. - nacos:mysql
  20. - nacos:redisson
  21. - nacos:minio
  22. config:
  23. sso: 0
  24. seata:
  25. enabled: true
  26. application-id: ${spring.application.name}
  27. # 事务组的名称,对应service.vgroupMapping.default_tx_group=xxx中配置的default_tx_group
  28. tx-service-group: default_tx_group
  29. # 配置事务组与集群的对应关系
  30. service:
  31. vgroup-mapping:
  32. # default_tx_group为事务组的名称,default为集群名称(与registry.conf中的一致)
  33. default_tx_group: default
  34. disable-global-transaction: false
  35. registry:
  36. type: nacos
  37. nacos:
  38. application: seata-server
  39. server-addr: 192.168.0.250:8848
  40. group: SEATA_GROUP
  41. namespace: ba488f58-c785-49b4-9c02-b5d9b8a965a5
  42. username: nacos
  43. password: nacos
  44. # registry.conf中,配置cluster名称
  45. cluster: default
  46. wechat:
  47. open:
  48. properties:
  49. app:
  50. componentAppId: wx612ca90988c46947
  51. componentSecret: 75b7d4cda453b2075dec23f849278bc0
  52. feign:
  53. client:
  54. jzg-partner:
  55. url: http://localhost:8087/