application-test.yml 2.86 KB
Newer Older
刘基明's avatar
刘基明 committed
1
apollo.bootstrap.enabled: false
刘基明's avatar
刘基明 committed
2 3 4 5 6 7 8 9 10
#app.id: tanpu-community

#apollo:
#  meta: http://dev-apollo.tamp-innner.com:8080
#  cacheDir: ./apollocache/
#  bootstrap:
#    namespaces: application.yml

server:
刘基明's avatar
刘基明 committed
11
  port: 8080
刘基明's avatar
刘基明 committed
12 13 14 15 16 17
  servlet:
    context-path: /community

spring.datasource:
  community:
    driver-class-name: com.mysql.cj.jdbc.Driver
18
    jdbc-url: jdbc:mysql://rm-uf6r22t3d798q4kmkao.mysql.rds.aliyuncs.com:3306/tamp_community?useUnicode=true&characterEncoding=utf-8&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull
19
    username: tamp_admin
刘基明's avatar
刘基明 committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
    password: '@imeng123'
    maxActive: 2
    minIdle: 2
    initialSize: 2

spring.redis:
  host: 118.190.63.109
  port: 56379
  password: qimeng123
  timeout: 2000
  max-active: 5
  max-wait: 5
  max-idle: 5
  jedis:
    pool:
      max-active: 3
      max-idle: 3
      min-idle: 3



spring.kafka:
  bootstrap-servers: 118.190.63.109:9092
  consumer:
    group-id: tp_group_new_community
    auto-offset-reset: latest
    fetch-min-size: 64
    fetch-max-wait: 500
    max-poll-records: 500
    key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
    value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
  producer:
    acks: 1
    batch-size: 10000
    key-serializer: org.apache.kafka.common.serialization.StringSerializer
    value-serializer: org.apache.kafka.common.serialization.StringSerializer


spring:
  sleuth:
    enabled: false
  zipkin:
    enabled: false

aliyun:
  oss:
    endpoint: http://oss-cn-shanghai.aliyuncs.com
    accessId: LTAIAKEzVydP0Q9P
    accessSK: 59V9ke9txaIFzWxHFKTb1eoOOpmKpJ
    bucketName: tamp-sit

es:
  host: 42.194.224.208
  port: 9200
  userName: 1
  userPasswd: 2
76
  index: test
刘基明's avatar
刘基明 committed
77 78 79 80 81 82 83 84 85 86 87 88 89 90

tencent:
  cloud:
    secretId: AKIDTjjV2IhK4ZKBm8z5g14vPedNSJuFnTIq
    secretKey: PaVBZfeQwDVXKr7TZOzM6c9VZNwGJGyA
    region: ap-shanghai

recommend:
  ratio: #主题推荐比例(热门、最新、机器学习)
    hot: 3
    new: 2
    python: 1
  python:
    enable: false
王亚雷's avatar
王亚雷 committed
91 92 93 94 95 96 97
    url: http://172.168.0.164:9000/api/get_recommend?user_id=2431614397151511

tmpfile:
  dir: /data/tmp

tanpu:
  fatools:
刘基明's avatar
刘基明 committed
98 99
    svc: 127.0.0.1:8189
  product:
王亚雷's avatar
王亚雷 committed
100 101 102
    svc: https://testtamper.tanpuyun.com
  jifen:
    svc: https://testtamper.tanpuyun.com
刘基明's avatar
刘基明 committed
103 104 105 106 107 108 109 110 111 112 113 114 115
  fund:
    svc: https://testtamper.tanpuyun.com
  course:
    svc: https://testtamper.tanpuyun.com
  community:
    svc: https://testtamper.tanpuyun.com
  order:
    svc: https://testtamper.tanpuyun.com
  tanpuroom:
    svc: https://testtamper.tanpuyun.com
  zhibo:
    svc: https://testtamper.tanpuyun.com
  diagnose:
116 117 118 119 120 121 122 123 124 125 126 127 128
    svc: https://testtamper.tanpuyun.com

#打印SQL语句
logging:
  level:
    com.tanpu.community.dao: debug
    org.springframework.jdbc.core.JdbcTemplate: debug

pagehelper:
  helperDialect: mysql
  reasonable: true
  supportMethodsArguments: true
  params: count=countSql