superdesk-app-services-plugins-dev.properties 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. #use local config
  2. spring.profiles.active=simple
  3. spring.application.name=superdesk-app-services-plugins
  4. server.port=8175
  5. server.servlet.context-path=/
  6. server.error.whitelabel.enabled=false
  7. #mybatis
  8. mybatis.type-aliases-package=cn.superdesk.app.plugins.dao.entity
  9. mybatis.mapper-locations=classpath*:mapper/*Mapper.xml
  10. mybatis.configuration.map-underscore-to-camel-case=true
  11. mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
  12. eureka.instance.instanceId=${spring.cloud.client.ip-address}:${spring.application.name}-1.0.0:${server.port}
  13. eureka.instance.metadataMap.nodeId=${client.nodeId}
  14. # spring-kafka
  15. spring.kafka.bootstrap-servers=127.0.0.1:9092
  16. # topic
  17. # 发送微信模板消息topic
  18. superdesk.kafka.topic.notify.wxTemplateMessage=superdesk-notify-wxTemplateMessage
  19. info.app.name=@project.artifactId@
  20. info.app.version=@project.version@
  21. #spring
  22. spring.jackson.time-zone=GMT+8
  23. spring.http.encoding.charset=UTF-8
  24. spring.http.encoding.force=true
  25. spring.http.encoding.enabled=true
  26. server.tomcat.uri-encoding=UTF-8
  27. # 配置文件说明
  28. #- mode
  29. # standalone 单机模式
  30. # sentinel 哨兵模式(主从)
  31. # cluster 集群模式
  32. # shard 分片模式
  33. #- servers
  34. # redis server列表,多个','隔开
  35. # sentinel 模式要配置哨兵地址
  36. #- group
  37. # 即多套redis配置的支持。如果你的服务里面用到了多组缓存就必须指定组名,组名不能重复,不指定缺省为[default]。
  38. #- database
  39. # 默认为 0
  40. #- password
  41. # redis设置了密码就配置
  42. superdesk.cache.mode=standalone
  43. #superdesk.cache.groupName=default
  44. superdesk.cache.servers=127.0.0.1:6379
  45. superdesk.cache.password=
  46. superdesk.cache.database=1
  47. superdesk.cache.maxPoolSize=10000
  48. superdesk.cache.maxPoolIdle=10
  49. superdesk.cache.minPoolIdle=1
  50. superdesk.cache.maxPoolWaitMillis=10000
  51. auth.crypt.key=U48Y4F1AwUADW24mLVIZtih3gt9bvW0
  52. swagger.enable=false
  53. #datasource
  54. db.group.size=1
  55. db.shard.size=1000
  56. db.driverClass=com.mysql.jdbc.Driver
  57. db.initialSize=2
  58. db.minIdle=1
  59. db.maxActive=50
  60. db.maxWait=60000
  61. db.timeBetweenEvictionRunsMillis=60000
  62. db.minEvictableIdleTimeMillis=300000
  63. db.testOnBorrow=true
  64. db.testOnReturn=false
  65. #master.db.url=jdbc:mysql://47.107.240.183:3306/sync_data?allowMultiQueries=true&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useSSL=false
  66. #master.db.username=pbi
  67. #master.db.password=VU2l8olycIhkGiSJ
  68. master.db.url=jdbc:mysql://112.74.48.214:53307/super_service_new_bak?allowMultiQueries=true&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useSSL=false
  69. master.db.username=root
  70. master.db.password=service_newbak2019
  71. #mybatis
  72. superdesk.mybatis.crudDriver=mapper3
  73. #superdesk.mybatis.dbType=Mysql
  74. superdesk.mybatis.cacheEnabled=true
  75. #superdesk.mybatis.cacheEnabled=false
  76. superdesk.mybatis.dynamicExpire=false
  77. superdesk.mybatis.cacheExpireSeconds=3600
  78. #superdesk.mybatis.rwRouteEnabled=false
  79. superdesk.mybatis.paginationEnabled=true
  80. #eureka
  81. eureka.instance.preferIpAddress=true
  82. eureka.client.service-url.defaultZone=http://superdesk:superdesk2019@127.0.0.1:19991/eureka/
  83. eureka.client.registry-fetch-interval-seconds=5
  84. eureka.instance.lease-expiration-duration-in-seconds=30
  85. eureka.instance.lease-renewal-interval-in-seconds=10
  86. #hystrix
  87. hystrix.command.default.execution.timeout.enabled=true
  88. hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
  89. #ribbon
  90. ribbon.eureka.enabled=true
  91. ribbon.ServerListRefreshInterval=2000
  92. ribbon.ConnectTimeout = 20000
  93. ribbon.ReadTimeout = 100000
  94. ribbon.OkToRetryOnAllOperations=false
  95. ribbon.MaxAutoRetriesNextServer=0
  96. ribbon.MaxAutoRetries = 0
  97. #spring
  98. #spring
  99. spring.servlet.multipart.max-file-size=1Mb
  100. spring.servlet.multipart.max-request-size=1Mb
  101. #spring.servlet.multipart.location=C:/Users/Administrator/AppData/Local/superdesk-app-services-common
  102. #loadbalancer
  103. spring.cloud.loadbalancer.retry.enabled=false
  104. #test attachment address
  105. attachment.root=/data/merge/storage/attachment
  106. #test template address
  107. template.root=/data/merge/storage/template
  108. #test
  109. clientNo=dev
  110. ### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
  111. xxl.job.admin.addresses=http://127.0.0.1:8168/superdesk/jobadmin
  112. ### xxl-job, access token
  113. xxl.job.accessToken=6f970743bfccc4633cffa89791f1392d
  114. ### xxl-job executor appname
  115. xxl.job.executor.appname=superdesk-plugins-job-executor
  116. ### xxl-job executor registry-address: default use address to registry , otherwise use ip:port if address is null
  117. xxl.job.executor.address=
  118. ### xxl-job executor server-info
  119. xxl.job.executor.ip=
  120. xxl.job.executor.port=18087
  121. ### xxl-job executor log-path
  122. xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler/plugins
  123. ### xxl-job executor log-retention-days
  124. xxl.job.executor.logretentiondays=30
  125. xxl.devMode=true
  126. tfbd.comp-id=1
  127. template.TransactionRecordsExportTemplate=/Users/story/Desktop/TransactionRecordsExportTemplate.xls