application-pre.yml 3.6 KB

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