application-dev.yml 2.97 KB

apollo.bootstrap.enabled: true
#app.id: tanpu-community

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

server:
  port: 8080
  servlet:
    context-path: /community

spring.datasource:
  community:
    driver-class-name: com.mysql.cj.jdbc.Driver
    jdbc-url: jdbc:mysql://47.101.189.151:31931/tamp_community?useUnicode=true&characterEncoding=utf-8&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&rewriteBatchedStatements=true
    username: dev
    password: qimeng123
    maxActive: 2
    minIdle: 2
    initialSize: 2
  course:
    driver-class-name: com.mysql.cj.jdbc.Driver
    jdbc-url: jdbc:mysql://47.101.189.151:31931/tamp_course?useUnicode=true&characterEncoding=utf-8&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&rewriteBatchedStatements=true
    username: dev
    password: qimeng123
    maxActive: 2
    minIdle: 2
    initialSize: 2
  user:
    driver-class-name: com.mysql.cj.jdbc.Driver
    jdbc-url: jdbc:mysql://47.101.189.151:31931/tamp_user?useUnicode=true&characterEncoding=utf-8&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&rewriteBatchedStatements=true
    username: dev
    password: qimeng123
    maxActive: 2
    minIdle: 2
    initialSize: 2
  zhibo:
    driver-class-name: com.mysql.cj.jdbc.Driver
    jdbc-url: jdbc:mysql://47.101.189.151:31931/tamp_zhibo?useUnicode=true&characterEncoding=utf-8&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&rewriteBatchedStatements=true
    username: dev
    password: qimeng123
    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