application-dev.yml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. #数据源配置
  2. spring:
  3. redis:
  4. ##redis 单机环境配置
  5. host: 172.31.1.154
  6. port: 6379
  7. password: Dh@82828800
  8. database: 0
  9. ssl: false
  10. ##redis 集群环境配置
  11. #cluster:
  12. # nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
  13. # commandTimeout: 5000
  14. datasource:
  15. # MySql
  16. url: jdbc:mysql://172.31.1.154:3306/shzhjcyjptywxt?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
  17. username: root
  18. password: 1QAZ!2wsx@
  19. # PostgreSQL
  20. #url: jdbc:postgresql://127.0.0.1:5432/bladex_boot
  21. #username: postgres
  22. #password: 123456
  23. # Oracle
  24. #url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
  25. #username: BLADEX_BOOT
  26. #password: BLADEX_BOOT
  27. # SqlServer
  28. #url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=bladex_boot
  29. #username: bladex_boot
  30. #password: bladex_boot
  31. # DaMeng
  32. # url: jdbc:dm://172.1.0.215:5236/ZGXXXT?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
  33. # username: ZGXXXT
  34. # password: ZGXXXT2022
  35. kafka:
  36. bootstrap-servers: 172.31.1.154:9092
  37. producer:
  38. retries: 0
  39. batch-size: 16384
  40. buffer-memory: 33554432
  41. key-serializer: org.apache.kafka.common.serialization.StringSerializer
  42. value-serializer: org.apache.kafka.common.serialization.StringSerializer
  43. consumer:
  44. group-id: kafka-shzhjcyjptywxt
  45. # 手动提交
  46. enable-auto-commit: false
  47. auto-offset-reset: latest
  48. key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
  49. value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
  50. properties:
  51. session.timeout.ms: 60000
  52. listener:
  53. log-container-config: false
  54. concurrency: 5
  55. # 手动提交
  56. ack-mode: manual_immediate
  57. mq-topic:
  58. ywxt-rtu-status: ywxt-rtu-status
  59. ywxt-warning: ywxt-warning
  60. topic-etl-task-run-info: topic-etl-task-run-info
  61. topic-etl-rain: topic-etl-rain-data
  62. topic-etl-river: topic-etl-river-data
  63. topic-etl-rsvr: topic-etl-rsvr-data
  64. topic-etl-ground: topic-etl-ground-data
  65. topic-etl-warn: topic-etl-warn-data
  66. topic-etl-promptly-collect: topic-etl-promptly-collect
  67. apk:
  68. qr-url: http://111.204.228.227:20002/api/galaxy-business/version/app/qr/url
  69. url: http://111.204.228.227:20002/app/apk
  70. save-path: D:\\tmp
  71. task-config:
  72. warning-check-task: false
  73. test-task: false
  74. rain-count-task: false
  75. surface-rain-task: false
  76. report-task: false
  77. rtu-datagram-up-task: false
  78. warn-config:
  79. delay-duration: 120
  80. delay-min-duration: 10
  81. clock-failure-duration: 60
  82. outlier-value: 30
  83. missout: 5
  84. yjxt:
  85. qrdir: D:\\tmp\\qr
  86. dangerarea-resident-reg-qr: http://111.204.228.227:20002/#/yj/dangerarea/resident/register
  87. transfer-reg-qr: http://111.204.228.227:20002/#/damage/transfer/register
  88. etl-server-url: http://localhost:40005/galaxy-business/warn/detail/
  89. export-config:
  90. workdir: D:\\tmp\\export
  91. equipment-info-template: equipment-template.xlsx
  92. inspection-remainingproblems-template: inspection-remainingproblems-template.xlsx
  93. inspection-unfinished-template: inspection-unfinished-template.xlsx
  94. ftp-config:
  95. ip: 172.31.1.199
  96. port: 2221
  97. username: admin
  98. password: admin
  99. workdir: D:\\tmp\\ftp
  100. targetdir: ANALYSIS/CLDAS
  101. rockdb-config:
  102. save-path: D:\\tmp\\rockdb
  103. region-ver-config:
  104. original-ver: v1
  105. ver: v8
  106. #第三方登陆
  107. social:
  108. enabled: true
  109. domain: http://127.0.0.1:1888
  110. #blade配置
  111. blade:
  112. #分布式锁配置
  113. lock:
  114. ##是否启用分布式锁
  115. enabled: false
  116. ##redis服务地址
  117. address: redis://172.9.0.165:6379
  118. password: Dh8282
  119. #本地文件上传
  120. file:
  121. remote-mode: true
  122. upload-domain: http://localhost:8999
  123. remote-path: /usr/share/nginx/html