application-sit.properties 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. server.port=8327
  2. server.servlet.context-path=/api
  3. project.path=./log
  4. #日志配置
  5. logging.level.root=info
  6. logging.path=${project.path}/logs
  7. spring.thymeleaf.prefix=classpath:/templates/
  8. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  9. spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
  10. spring.datasource.url=jdbc:mysql://114.135.61.188:33306/ccrc?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull
  11. spring.datasource.username=root
  12. spring.datasource.password=100Zone@123
  13. spring.datasource.druid.initial-size=5
  14. spring.datasource.druid.min-idle=5
  15. spring.datasource.druid.max-active=20
  16. spring.datasource.druid.max-wait=60000
  17. spring.datasource.druid.time-between-eviction-runs-millis=60000
  18. spring.datasource.druid.min-evictable-idle-time-millis=300000
  19. spring.datasource.druid.validation-query=SELECT 1
  20. spring.datasource.druid.test-while-idle=true
  21. spring.datasource.druid.test-on-borrow=true
  22. spring.datasource.druid.test-on-return=false
  23. spring.datasource.druid.pool-prepared-statements=true
  24. spring.datasource.druid.max-pool-prepared-statement-per-connection-size=20
  25. spring.datasource.druid.filters=stat,wall
  26. spring.datasource.druid.connection-properties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  27. # mybatis_config
  28. mybatis.mapper-locations=classpath*:mapper/*.xml
  29. mybatis.type-aliases-package=com.zoniot.ccrc.entity
  30. mybatis.configuration.map-underscore-to-camel-case=true
  31. mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
  32. mybatis.configuration.use-column-label=true
  33. spring.data.mongodb.uri=mongodb://114.135.61.188:17017/meter-reading-database
  34. spring.jackson.time-zone=GMT+8
  35. #spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
  36. #spring.jackson.joda-date-time-format: yyyy-MM-dd HH:mm:ss
  37. # redis
  38. #spring.redis.host=127.0.0.1
  39. spring.redis.host=114.135.61.188
  40. spring.redis.port=26379
  41. spring.redis.password=zoniot
  42. #spring.redis.port=6379
  43. #spring.redis.password=100Zone@123
  44. spring.redis.database=3
  45. spring.redis.timeout=10000ms
  46. spring.redis.jedis.pool.max-active=8
  47. spring.redis.jedis.pool.max-idle=8
  48. spring.redis.jedis.pool.max-wait=-1ms
  49. spring.redis.jedis.pool.min-idle=2
  50. jwt.secret=smartCity123
  51. jwt.expiration=36000
  52. jwt.header=Authorization
  53. jwt.tokenHead=Bearer
  54. spring.servlet.multipart.max-file-size=100MB
  55. spring.servlet.multipart.max-request-size=100MB
  56. spring.servlet.multipart.location=${project.path}/files
  57. files.path=${project.path}/data
  58. #物联网url
  59. iot.url=http://114.135.61.188:58080
  60. iot.server=114.135.61.188
  61. iot.port=58088
  62. #########################################Rabbit MQ ����#############################################
  63. spring.rabbitmq.host=114.135.61.188
  64. spring.rabbitmq.port=55672
  65. spring.rabbitmq.username=zoniot
  66. spring.rabbitmq.password=zcxk100
  67. spring.rabbitmq.virtual-host=/
  68. spring.rabbitmq.connection-timeout=1000ms
  69. spring.rabbitmq.publisher-confirm-type=correlated
  70. spring.rabbitmq.publisher-returns=true
  71. spring.rabbitmq.template.mandatory=true
  72. spring.rabbitmq.listener.direct.acknowledge-mode=manual
  73. spring.rabbitmq.listener.simple.acknowledge-mode=manual
  74. spring.rabbitmq.exchange=sync-handler-exchange
  75. spring.rabbitmq.device.queue=sync-device-handler-queue
  76. spring.rabbitmq.community.queue=sync-community-handler-queue
  77. spring.rabbitmq.building.queue=sync-building-handler-queue
  78. #中城信科公众号
  79. wechat.oa.appid=wx6b2ce547cd593413
  80. #小程序水查查服务
  81. wechat.mp.appid=wx27f831675081e293
  82. wechat.mp.app-secret=a01d7f75f15e1a6b7fa28a317f97ef1b