bootstrap.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. spring:
  2. profiles:
  3. active: agentLv
  4. ---
  5. server:
  6. port: 9017
  7. tomcat:
  8. uri-encoding: utf-8
  9. # 注册中心配置
  10. eureka:
  11. client:
  12. service-url:
  13. defaultZone: http://eureka-depot-tj:9001/eureka/
  14. instance:
  15. prefer-ip-address: true
  16. # 每隔10s发送一次心跳(默认30s)
  17. lease-renewal-interval-in-seconds: 10
  18. # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
  19. lease-expiration-duration-in-seconds: 30
  20. spring:
  21. profiles: agentLv
  22. application:
  23. name: depot-monitor
  24. # 数据库配置
  25. datasource:
  26. type: com.alibaba.druid.pool.DruidDataSource
  27. url: jdbc:gbasedbt-sqli://101.36.160.140:19089/depot:INFORMIXSERVER=ol_gbasedbt1210;NEWCODESET=GB18030,GB18030-2000,5488;DB_LOCALE=zh_cn.GB18030-2000;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
  28. username: gbasedbt
  29. password: cDbK2S0go8
  30. driver-class-name: com.gbasedbt.jdbc.IfxDriver
  31. # 缓存配置
  32. session:
  33. store-type: redis
  34. redis:
  35. database: 2
  36. host: 192.168.123.98
  37. port: 6666
  38. password: depotredis
  39. timeout: 3000
  40. jedis:
  41. pool:
  42. max-active: 8
  43. max-wait: -1
  44. max-idle: 8
  45. min-idle: 0
  46. # 静态资源配置
  47. resources:
  48. static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
  49. servlet:
  50. multipart:
  51. enabled: true
  52. max-file-size: 10MB
  53. max-request-size: 50MB
  54. web:
  55. upload-path: D:/depotImg
  56. # 视频监测记录保存位置
  57. monitor:
  58. monitoring-path: /home/monitorzd
  59. # 短信猫配置
  60. sendMessage:
  61. com: COM4
  62. modem: modem.com4
  63. windows-path: E:/monitorzd/
  64. ---
  65. server:
  66. port: 9017
  67. tomcat:
  68. uri-encoding: utf-8
  69. # 注册中心配置
  70. eureka:
  71. client:
  72. service-url:
  73. defaultZone: http://192.168.123.98:9001/eureka/
  74. instance:
  75. prefer-ip-address: true
  76. # 每隔10s发送一次心跳(默认30s)
  77. lease-renewal-interval-in-seconds: 10
  78. # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
  79. lease-expiration-duration-in-seconds: 30
  80. spring:
  81. profiles: dev
  82. application:
  83. name: depot-monitor-lv
  84. # 数据库配置
  85. datasource:
  86. type: com.alibaba.druid.pool.DruidDataSource
  87. url: jdbc:gbasedbt-sqli://192.168.123.38:9099/depot:INFORMIXSERVER=depot;NEWCODESET=GBK,8859-1,819;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;DB_LOCALE=zh_cn.GB18030-2000
  88. username: gbasedbt
  89. password: depot123456
  90. driver-class-name: com.gbasedbt.jdbc.IfxDriver
  91. # 缓存配置
  92. session:
  93. store-type: redis
  94. redis:
  95. database: 2
  96. host: 192.168.123.98
  97. port: 6666
  98. password: depotredis
  99. timeout: 3000
  100. jedis:
  101. pool:
  102. max-active: 8
  103. max-wait: -1
  104. max-idle: 8
  105. min-idle: 0
  106. # 静态资源配置
  107. resources:
  108. static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
  109. servlet:
  110. multipart:
  111. enabled: true
  112. max-file-size: 10MB
  113. max-request-size: 50MB
  114. web:
  115. upload-path: D:/depotImg
  116. # 视频监测记录保存位置
  117. monitor:
  118. monitoring-path: /home/monitorzd
  119. # 短信猫配置
  120. sendMessage:
  121. com: COM4
  122. modem: modem.com4
  123. logging.level.com.chinaitop.depot.agent.crk.mapper: debug