application-prod.yml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # 【生产环境】
  2. spring:
  3. # redis 配置
  4. redis:
  5. host: r-b3z77876e93097f4.redis.rds.1.ops.sgmc.sgcc.com.cn
  6. port: 16379
  7. database: 7
  8. password: vcx1RTbKBluW7DK
  9. timeout: 10s
  10. lettuce:
  11. pool:
  12. min-idle: 0
  13. max-idle: 8
  14. max-active: 8
  15. max-wait: -1ms
  16. # 数据源 配置
  17. datasource:
  18. type: com.alibaba.druid.pool.DruidDataSource
  19. driverClassName: com.mysql.cj.jdbc.Driver
  20. druid:
  21. master:
  22. url: jdbc:mysql://rm-b3zg6n318bg9lj318.mysql.rds.1.ops.sgmc.sgcc.com.cn:13306/cwzjgk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  23. username: lcfx
  24. password: Myrds@2021
  25. slave:
  26. enabled: false
  27. url:
  28. username:
  29. password:
  30. initialSize: 5
  31. minIdle: 10
  32. maxActive: 20
  33. maxWait: 60000
  34. connectTimeout: 30000
  35. socketTimeout: 60000
  36. timeBetweenEvictionRunsMillis: 60000
  37. minEvictableIdleTimeMillis: 300000
  38. maxEvictableIdleTimeMillis: 900000
  39. validationQuery: SELECT 1 FROM DUAL
  40. testWhileIdle: true
  41. testOnBorrow: false
  42. testOnReturn: false
  43. webStatFilter:
  44. enabled: true
  45. statViewServlet:
  46. enabled: true
  47. allow:
  48. url-pattern: /druid/*
  49. login-username: admin
  50. login-password: admin123
  51. filter:
  52. stat:
  53. enabled: true
  54. log-slow-sql: true
  55. slow-sql-millis: 1000
  56. merge-sql: true
  57. wall:
  58. config:
  59. multi-statement-allow: true
  60. # ocr【生产环境】
  61. ai:
  62. ocr:
  63. clientId: hunan
  64. clientSecret: 87FFD244-F428-43C1-8A19-830DB262F248
  65. username: 13051895824
  66. password: hunan123456!
  67. ocrServer: http://20.1.56.52:18080/prod-api
  68. # ocrServer: http://20.1.57.81:18080/prod-api
  69. deviceId: abcdefghijklmnopqrstuvwx98
  70. sm2PublicKey: 04be20d2cd20e5efd2e81e9e646e658898b4cfd2da301e00ec93bb27f2a6fbc36973ae552eaa4ba34ad28429beeb39e30903b5fb39164102d3d2e10c3dc56f4a7d
  71. sm2PrivateKey: 71cce13c70cf4a0c29a5fae4a27ceb3066610272a07521903f1abf6041ec28c1
  72. tempPath: C:\hywzqlc\tempPath
  73. msg:
  74. url: http://25.212.65.175:18888/admin/sysMsg/sendMsg