project-customer-dev.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. server:
  2. port: 0 #端口
  3. spring:
  4. cloud:
  5. # nacos
  6. nacos:
  7. discovery:
  8. register-enabled: true
  9. server-addr: 127.0.0.1:8848
  10. username: nacos-dev
  11. password: nacos-dev
  12. namespace: 33360858-b0c2-4364-b8fb-d8879aa272a0
  13. circuitbreaker:
  14. sentinel:
  15. enabled: true
  16. sentinel:
  17. enabled: true
  18. transport:
  19. dashboard: 127.0.0.1:8858
  20. port: 0
  21. datasource:
  22. ds-flow-rules:
  23. nacos:
  24. server-addr: 127.0.0.1:8848
  25. username: nacos-dev
  26. password: nacos-dev
  27. namespace: 81037616-96ae-412c-a060-a633ba9731b9
  28. group-id: SENTINEL_GROUP
  29. data-id: ${spring.application.name}-flow-rules
  30. rule-type: flow
  31. data-type: json
  32. # 数据库配置
  33. datasource:
  34. url: jdbc:mysql://127.0.0.1:3306/central?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=Asia/Shanghai
  35. username: root
  36. password: 123456
  37. # rabbitmq配置
  38. rabbitmq:
  39. host: 127.0.0.1
  40. port: 5672
  41. # redis配置
  42. redis:
  43. host: 127.0.0.1
  44. port: 6379
  45. database: 0
  46. password: HorO9496sCopE
  47. clientName: ${spring.application.name}-redis
  48. # 日志配置
  49. logging:
  50. level:
  51. com:
  52. atmob:
  53. central: debug
  54. mybatis:
  55. configuration:
  56. logImpl: org.apache.ibatis.logging.stdout.StdOutImpl
  57. ali:
  58. cloud:
  59. customer:
  60. accessKeyId: LTAI5tFGsRNDBWGbD4fmAaBh
  61. accessKeySecret: Mvx0OnLtpGIJDQV3auG8SPxuaYaBFk
  62. endpoint: chatbot.cn-shanghai.aliyuncs.com