application-sit.properties 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. agent.guiyang.api-url=http://218.17.45.101:18850
  2. ##########################################################数据库配置#####################################################
  3. spring.datasource.url=jdbc:mysql://114.135.61.188:33306/smart_city_sit_6_10?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull
  4. spring.datasource.username=root
  5. spring.datasource.password=100Zone@123
  6. spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
  7. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  8. spring.datasource.druid.max-wait=60000
  9. spring.datasource.druid.max-active=20
  10. spring.datasource.druid.initial-size=5
  11. spring.datasource.druid.min-idle=5
  12. spring.datasource.druid.pool-prepared-statements=true
  13. spring.datasource.druid.max-open-prepared-statements=20
  14. spring.datasource.druid.test-on-return=false
  15. spring.datasource.druid.test-on-borrow=true
  16. spring.datasource.druid.test-while-idle=true
  17. spring.datasource.druid.validation-query=SELECT 'X'
  18. spring.datasource.druid.min-evictable-idle-time-millis=300000
  19. spring.datasource.druid.time-between-eviction-runs-millis=60000
  20. spring.datasource.druid.filters=stat,wall
  21. spring.datasource.druid.connection-properties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  22. # redis
  23. spring.redis.host=114.135.61.188
  24. spring.redis.port=26379
  25. spring.redis.password=zoniot
  26. spring.redis.database=11
  27. spring.redis.timeout=10000ms
  28. spring.redis.jedis.pool.max-active=8
  29. spring.redis.jedis.pool.max-idle=8
  30. spring.redis.jedis.pool.max-wait=-1ms
  31. spring.redis.jedis.pool.min-idle=2
  32. #########################################XXL Job����#################################################
  33. xxl.job.admin.addresses=http://10.0.0.156:8081/xxl-job-admin
  34. xxl.job.accessToken=
  35. xxl.job.executor.appname=guiyang-meter-reading-executor
  36. xxl.job.executor.address=
  37. xxl.job.executor.ip=
  38. xxl.job.executor.port=18082
  39. xxl.job.executor.logpath=/opt/sit/meter-reading-job/xxl-job/jobhandler
  40. xxl.job.executor.logretentiondays=30
  41. #mongodb url
  42. spring.data.mongodb.uri=mongodb://114.135.61.188:17017/meter-reading-database
  43. logging.level.org.springframework.data.mongodb.core=DEBUG