superdesk-app-services-coupon-dev.properties 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. #use local config
  2. spring.profiles.active=simple
  3. spring.application.name=superdesk-app-services-coupon
  4. server.port=8165
  5. server.servlet.context-path=/
  6. server.error.whitelabel.enabled=false
  7. #mybatis
  8. mybatis.type-aliases-package=cn.superdesk.app.coupon.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://112.74.48.214:53307/super_service_new_bak?allowMultiQueries=true&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useSSL=false
  66. master.db.username=root
  67. master.db.password=service_newbak2019
  68. #mybatis
  69. superdesk.mybatis.crudDriver=mapper3
  70. #superdesk.mybatis.dbType=Mysql
  71. superdesk.mybatis.cacheEnabled=true
  72. #superdesk.mybatis.cacheEnabled=false
  73. superdesk.mybatis.dynamicExpire=false
  74. superdesk.mybatis.cacheExpireSeconds=3600
  75. #superdesk.mybatis.rwRouteEnabled=false
  76. superdesk.mybatis.paginationEnabled=true
  77. #eureka
  78. eureka.instance.preferIpAddress=true
  79. eureka.client.service-url.defaultZone=http://superdesk:superdesk2019@127.0.0.1:19991/eureka/
  80. eureka.client.registry-fetch-interval-seconds=5
  81. eureka.instance.lease-expiration-duration-in-seconds=30
  82. eureka.instance.lease-renewal-interval-in-seconds=10
  83. #hystrix
  84. hystrix.command.default.execution.timeout.enabled=true
  85. hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
  86. #ribbon
  87. ribbon.eureka.enabled=true
  88. ribbon.ServerListRefreshInterval=2000
  89. ribbon.ConnectTimeout = 20000
  90. ribbon.ReadTimeout = 100000
  91. ribbon.OkToRetryOnAllOperations=false
  92. ribbon.MaxAutoRetriesNextServer=0
  93. ribbon.MaxAutoRetries = 0
  94. #spring
  95. #spring
  96. spring.servlet.multipart.max-file-size=1Mb
  97. spring.servlet.multipart.max-request-size=1Mb
  98. spring.servlet.multipart.location=C:/Users/Administrator/AppData/Local/superdesk-app-services-common
  99. #loadbalancer
  100. spring.cloud.loadbalancer.retry.enabled=false
  101. #test attachment address
  102. attachment.root=/data/merge/storage/attachment
  103. #test template address
  104. template.root=/data/merge/storage/template
  105. #test
  106. clientNo=dev
  107. ### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
  108. xxl.job.admin.addresses=http://127.0.0.1:8168/superdesk/jobadmin
  109. ### xxl-job, access token
  110. xxl.job.accessToken=6f970743bfccc4633cffa89791f1392d
  111. ### xxl-job executor appname
  112. xxl.job.executor.appname=superdesk-coupon-job-executor
  113. ### xxl-job executor registry-address: default use address to registry , otherwise use ip:port if address is null
  114. xxl.job.executor.address=
  115. ### xxl-job executor server-info
  116. xxl.job.executor.ip=
  117. xxl.job.executor.port=18084
  118. ### xxl-job executor log-path
  119. xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler/coupon
  120. ### xxl-job executor log-retention-days
  121. xxl.job.executor.logretentiondays=30
  122. xxl.devMode=false