superdesk-app-services-coupon-prd.properties 4.6 KB

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