application-pre.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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://preeureka-internal.piaoquantv.com/eureka/
  15. spring:
  16. redis:
  17. hostName: r-bp1fogs2mflr1ybfot.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-bp1oyhyx4mxgs6klyt561.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-bp109v1gjl63qi00cb.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-bp1f3341ec15a634301.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. data:
  72. mongodb:
  73. clusterHost: s-bp14ce206f81b754.mongodb.rds.aliyuncs.com
  74. clusterPort: 3717
  75. secondaryHost: s-bp137073555e7bc4.mongodb.rds.aliyuncs.com
  76. secondaryPort: 3717
  77. database: longvideo
  78. username: lv
  79. password: lv2018
  80. # 连接池
  81. maxConnectionIdleTime: 180000
  82. # maxConnectionLifeTime: 30000
  83. maxWaitTime: 5000
  84. minSize: 5
  85. maxSize: 100
  86. datasource:
  87. url: jdbc:mysql://rm-bp1jjv3jv98133plv285-vpc-rw.mysql.rds.aliyuncs.com:3306/longvideo?useSSL=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
  88. username: wx2016_longvideo
  89. password: wx2016_longvideoP@assword1234
  90. driver-class-name: com.mysql.jdbc.Driver
  91. hikari:
  92. connection-timeout: 30000
  93. minimum-idle: 5
  94. maximum-pool-size: 10
  95. auto-commit: true
  96. idle-timeout: 30000
  97. jpa:
  98. hibernate:
  99. ddl-auto: validate
  100. database: mysql
  101. xxl:
  102. job:
  103. admin:
  104. addresses: http://xxl-job-pre-internal.piaoquantv.com/xxl-job-admin
  105. accessToken:
  106. executor:
  107. appname: ${spring.application.name}
  108. address:
  109. ip:
  110. port: 9999
  111. logpath: /datalog/weblog/${spring.application.name}/xxl-job/
  112. logretentiondays: 30
  113. apollo:
  114. meta: http://preapolloconfig-internal.piaoquantv.com
  115. aliyun:
  116. log:
  117. endpoint: cn-hangzhou-intranet.log.aliyuncs.com
  118. accessKeyId: LTAIP6x1l3DXfSxm
  119. accessKeySecret: KbTaM9ars4OX3PMS6Xm7rtxGr1FLon
  120. project: recommend-server-test
  121. timer:
  122. log:
  123. project: recommend-server-test
  124. logStore: timer
  125. blacklist:
  126. filter:
  127. log:
  128. project: wqsd-video
  129. store: video_blacklist_security_filter_log