superdesk-app-services-plugins-prd.properties 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. info.app.name=@project.artifactId@
  15. info.app.version=@project.version@
  16. #spring
  17. spring.jackson.time-zone=GMT+8
  18. spring.http.encoding.charset=UTF-8
  19. spring.http.encoding.force=true
  20. spring.http.encoding.enabled=true
  21. server.tomcat.uri-encoding=UTF-8
  22. # 配置文件说明
  23. #- mode
  24. # standalone 单机模式
  25. # sentinel 哨兵模式(主从)
  26. # cluster 集群模式
  27. # shard 分片模式
  28. #- servers
  29. # redis server列表,多个','隔开
  30. # sentinel 模式要配置哨兵地址
  31. #- group
  32. # 即多套redis配置的支持。如果你的服务里面用到了多组缓存就必须指定组名,组名不能重复,不指定缺省为[default]。
  33. #- database
  34. # 默认为 0
  35. #- password
  36. # redis设置了密码就配置
  37. superdesk.cache.mode=standalone
  38. #superdesk.cache.groupName=default
  39. superdesk.cache.servers=172.18.223.212:6379
  40. superdesk.cache.password=
  41. superdesk.cache.database=1
  42. superdesk.cache.maxPoolSize=10000
  43. superdesk.cache.maxPoolIdle=10
  44. superdesk.cache.minPoolIdle=1
  45. superdesk.cache.maxPoolWaitMillis=10000
  46. auth.crypt.key=U48Y4F1AwUADW24mLVIZtih3gt9bvW0
  47. swagger.enable=false
  48. #datasource
  49. db.group.size=1
  50. db.shard.size=1000
  51. db.driverClass=com.mysql.jdbc.Driver
  52. db.initialSize=2
  53. db.minIdle=1
  54. db.maxActive=50
  55. db.maxWait=60000
  56. db.timeBetweenEvictionRunsMillis=60000
  57. db.minEvictableIdleTimeMillis=300000
  58. db.testOnBorrow=true
  59. db.testOnReturn=false
  60. master.db.url=jdbc:mysql://rm-wz949306t03an8m8s.mysql.rds.aliyuncs.com:3306/superdesk_app_env_prod?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useSSL=false
  61. master.db.username=superdesk_app2
  62. master.db.password=qHZu2xi$yG0^NqMD
  63. #mybatis
  64. superdesk.mybatis.crudDriver=mapper3
  65. #superdesk.mybatis.dbType=Mysql
  66. superdesk.mybatis.cacheEnabled=true
  67. #superdesk.mybatis.cacheEnabled=false
  68. superdesk.mybatis.dynamicExpire=false
  69. superdesk.mybatis.cacheExpireSeconds=3600
  70. #superdesk.mybatis.rwRouteEnabled=false
  71. superdesk.mybatis.paginationEnabled=true
  72. #eureka
  73. eureka.instance.preferIpAddress=true
  74. eureka.client.service-url.defaultZone=http://superdesk:superdesk2019@172.18.223.212:19991/eureka/
  75. eureka.client.registry-fetch-interval-seconds=5
  76. eureka.instance.lease-expiration-duration-in-seconds=30
  77. eureka.instance.lease-renewal-interval-in-seconds=10
  78. #hystrix
  79. hystrix.command.default.execution.timeout.enabled=true
  80. hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
  81. #ribbon
  82. ribbon.eureka.enabled=true
  83. ribbon.ServerListRefreshInterval=2000
  84. ribbon.ConnectTimeout = 20000
  85. ribbon.ReadTimeout = 100000
  86. ribbon.OkToRetryOnAllOperations=false
  87. ribbon.MaxAutoRetriesNextServer=0
  88. ribbon.MaxAutoRetries = 0
  89. #spring
  90. #spring
  91. spring.servlet.multipart.max-file-size=1Mb
  92. spring.servlet.multipart.max-request-size=1Mb
  93. #spring.servlet.multipart.location=C:/Users/Administrator/AppData/Local/superdesk-app-services-common
  94. #loadbalancer
  95. spring.cloud.loadbalancer.retry.enabled=false
  96. #test attachment address
  97. attachment.root=/data/merge/storage/attachment
  98. #test template address
  99. template.root=/data/merge/storage/template
  100. #test
  101. clientNo=dev
  102. ### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
  103. xxl.job.admin.addresses=http://172.18.223.212:8168/superdesk/jobadmin
  104. ### xxl-job, access token
  105. xxl.job.accessToken=X863nVQDOxWjWguCU1PVbq75FdDVGO3d
  106. ### xxl-job executor appname
  107. xxl.job.executor.appname=superdesk-plugins-job-executor
  108. ### xxl-job executor registry-address: default use address to registry , otherwise use ip:port if address is null
  109. xxl.job.executor.address=
  110. ### xxl-job executor server-info
  111. xxl.job.executor.ip=
  112. xxl.job.executor.port=18087
  113. ### xxl-job executor log-path
  114. xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler/plugins
  115. ### xxl-job executor log-retention-days
  116. xxl.job.executor.logretentiondays=30
  117. xxl.devMode=false
  118. tfbd.comp-id=27