application-formal.yml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. server:
  2. port: 8080
  3. # 通用配置
  4. pavis:
  5. # 需要换成自己开发环境本地的地址
  6. profile: D:\privacy\pavis\uploadPath
  7. #minio配置
  8. minio:
  9. # #对象存储服务的URL
  10. # url: http://localhost:9000/
  11. # #Access key账户
  12. # accessKey: minioadmin
  13. # #Secret key密码
  14. # secretKey: minioadmin
  15. # bucketName: default
  16. # #Access key账户
  17. # accessKey: 2TlzVcrX1jH2oWhz
  18. # #Secret key密码
  19. # secretKey: ZfmZgtZO4g1L8iMmVB8DeARCSdyxzI8G
  20. url: http://172.23.11.26:9000
  21. #Access key账户
  22. accessKey: fG2cm5LfIo41mXUqfYKt
  23. #Secret key密码
  24. secretKey: mrCeT8morgZVD0EMxnxtxTa2P2VYG4lqfUjWxuds
  25. bucketName: default
  26. spring:
  27. datasource:
  28. dynamic:
  29. primary: master #设置默认的数据源或者数据源组,默认值即为master
  30. strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
  31. datasource:
  32. # master:
  33. # url: jdbc:mysql://192.168.1.166:3306/slim
  34. # username: root
  35. # password: 123456
  36. # driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
  37. master:
  38. url: jdbc:mysql://172.23.11.26:3310/slim
  39. username: root
  40. password: 123
  41. driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
  42. slave_1:
  43. url: jdbc:mysql://172.23.11.26:3311/slim
  44. username: root
  45. password: 123
  46. driver-class-name: com.mysql.cj.jdbc.Driver
  47. slave_2:
  48. url: jdbc:mysql://172.23.11.26:3312/slim
  49. username: root
  50. password: 123
  51. driver-class-name: com.mysql.cj.jdbc.Driver
  52. # redis 配置
  53. redis:
  54. # # 地址
  55. host: 172.23.11.26
  56. # # 端口,默认为6379
  57. port: 6378
  58. # feign 配置
  59. feign:
  60. client:
  61. config:
  62. default:
  63. logger-level: full
  64. httpclient:
  65. # 开启feign对httpclient的支持
  66. enabled: true
  67. # 最大连接数
  68. max-connections: 200
  69. # 每个路径的最大连接数
  70. max-connections-per-route: 50
  71. #调用算法接口
  72. algorithm:
  73. creat:
  74. # 将所需要生成图谱的文件,传给算法的接口
  75. url: http://192.168.1.150:8900/data_access
  76. #PageHelper 分页插件配置
  77. pagehelper:
  78. helperDialect: mysql
  79. reasonable: true
  80. supportMethodsArguments: true
  81. params: count=countSql