application-test.yml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. server:
  2. port: 8080
  3. oss:
  4. endpoint: oss-cn-hangzhou-internal.aliyuncs.com
  5. eureka:
  6. instance:
  7. prefer-ip-address: true #是否优先使用IP地址作为主机名的标识,默认false
  8. instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port} #注册到eureka上的唯一实例ID
  9. lease-renewal-interval-in-seconds: 10 #表示eureka client发送心跳给server端的频率,默认30
  10. lease-expiration-duration-in-seconds: 30 #表示eureka server至上一次收到client的心跳之后,等待下一次心跳的超时时间,在这个时间内若没收到下一次心跳,则将移除该instance,默认90
  11. client:
  12. registry-fetch-interval-seconds: 5 #定时从Eureka Server拉取服务注册信息的间隔时间
  13. serviceUrl:
  14. defaultZone: http://testeureka-internal.piaoquantv.com/eureka/
  15. spring:
  16. redis:
  17. hostName: r-bp1ps6my7lzg8rdhwx682.redis.rds.aliyuncs.com
  18. port: 6379
  19. password: Wqsd@2019
  20. timeout: 1000
  21. lettuce:
  22. pool:
  23. max-active: 8
  24. max-wait: -1
  25. max-idle: 8
  26. min-idle: 0
  27. feature-redis:
  28. hostName: r-bp1pi8wyv6lzvgjy5z.redis.rds.aliyuncs.com
  29. port: 6379
  30. password: Wqsd@2019
  31. timeout: 1000
  32. lettuce:
  33. pool:
  34. max-active: 8
  35. max-wait: -1
  36. max-idle: 8
  37. min-idle: 0
  38. long-video-redis:
  39. hostName: r-bp1ps6my7lzg8rdhwx682.redis.rds.aliyuncs.com
  40. port: 6379
  41. password: Wqsd@2019
  42. timeout: 1000
  43. lettuce:
  44. pool:
  45. max-active: 8
  46. max-wait: -1
  47. max-idle: 8
  48. min-idle: 0
  49. filter-redis:
  50. hostName: r-bp1ps6my7lzg8rdhwx682.redis.rds.aliyuncs.com
  51. port: 6379
  52. password: Wqsd@2019
  53. timeout: 1000
  54. lettuce:
  55. pool:
  56. max-active: 8
  57. max-wait: -1
  58. max-idle: 8
  59. min-idle: 0
  60. video-redis:
  61. hostName: r-bp1ps6my7lzg8rdhwx682.redis.rds.aliyuncs.com
  62. port: 6379
  63. password: Wqsd@2019
  64. timeout: 1000
  65. lettuce:
  66. pool:
  67. max-active: 8
  68. max-wait: -1
  69. max-idle: 8
  70. min-idle: 0
  71. user-redis:
  72. hostName: r-bp1ps6my7lzg8rdhwx682.redis.rds.aliyuncs.com
  73. port: 6379
  74. password: Wqsd@2019
  75. timeout: 1000
  76. lettuce:
  77. pool:
  78. max-active: 8
  79. max-wait: -1
  80. max-idle: 8
  81. min-idle: 0
  82. mid-redis:
  83. hostName: r-bp1ps6my7lzg8rdhwx682.redis.rds.aliyuncs.com
  84. port: 6379
  85. password: Wqsd@2019
  86. timeout: 1000
  87. lettuce:
  88. pool:
  89. max-active: 8
  90. max-wait: -1
  91. max-idle: 8
  92. min-idle: 0
  93. data:
  94. mongodb:
  95. clusterHost: dds-bp1de4fc73029b241978.mongodb.rds.aliyuncs.com
  96. clusterPort: 3717
  97. secondaryHost: dds-bp1de4fc73029b241978.mongodb.rds.aliyuncs.com
  98. secondaryPort: 3717
  99. thirdHost: dds-bp1de4fc73029b241978.mongodb.rds.aliyuncs.com
  100. thirdPort: 3717
  101. fourthHost: dds-bp1de4fc73029b241978.mongodb.rds.aliyuncs.com
  102. fourthPort: 3717
  103. database: longvideo
  104. username: lv
  105. password: lv@2018
  106. replicaSetName: dds-bp1de4fc73029b241978.mongodb.rds.aliyuncs.com:3717,dds-bp1de4fc73029b242144.mongodb.rds.aliyuncs.com:3717
  107. # 连接池
  108. maxConnectionIdleTime: 180000
  109. # maxConnectionLifeTime: 30000
  110. maxWaitTime: 3000
  111. minSize: 5
  112. maxSize: 10
  113. datasource:
  114. url: jdbc:mysql://rm-bp1k5853td1r25g3n690.mysql.rds.aliyuncs.com:3306/longvideo?useSSL=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
  115. username: wx2016_longvideo
  116. password: wx2016_longvideoP@assword1234
  117. driver-class-name: com.mysql.jdbc.Driver
  118. hikari:
  119. connection-timeout: 30000
  120. minimum-idle: 5
  121. maximum-pool-size: 10
  122. auto-commit: true
  123. idle-timeout: 30000
  124. jpa:
  125. hibernate:
  126. ddl-auto: none
  127. database: mysql
  128. xxl:
  129. job:
  130. admin:
  131. addresses: http://xxl-job-test-internal.piaoquantv.com/xxl-job-admin
  132. accessToken:
  133. executor:
  134. appname: ${spring.application.name}
  135. address:
  136. ip:
  137. port: 9999
  138. logpath: /datalog/weblog/${spring.application.name}/xxl-job/
  139. logretentiondays: 30
  140. apollo:
  141. meta: http://testapolloconfig-internal.piaoquantv.com
  142. aliyun:
  143. log:
  144. endpoint: cn-hangzhou-intranet.log.aliyuncs.com
  145. accessKeyId: LTAIP6x1l3DXfSxm
  146. accessKeySecret: KbTaM9ars4OX3PMS6Xm7rtxGr1FLon
  147. project: recommend-server-test
  148. timer:
  149. log:
  150. project: recommend-server-test
  151. logStore: timer
  152. blacklist:
  153. filter:
  154. log:
  155. project: wqsd-video-test
  156. store: video_blacklist_security_filter_log