application-test.yml 1.8 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
spring:
#  redis:
#    database: 0
#    cluster:
#      nodes: 39.105.23.253:6382,39.106.26.175:6381,101.200.127.120:6382
#    timeout: 3600
#    jedis:
#      shutdown-timeout: 3600
#      pool:
#        max-wait: -1
#        max-active: 300
#        max-idle: 8
#        min-idle: 2
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
    username: root
17 18
    password: byh@ycrmyy..
    url: jdbc:mysql://192.168.0.106:3310/byh-family-doctor?useUnicode=true&characterEncoding=utf8
19 20 21
  cache:
    cache-names: dataCache
    type: REDIS
杨凯's avatar
杨凯 committed
22 23 24 25 26
  rabbitmq:
    host: rabbitmq
    port: 5672
    username: byh
    password: byh@ycrmyy..
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
  jackson:
    serialization:
      WRITE_DATES_AS_TIMESTAMPS: true

eureka:
  client:
    registerWithEureka: true
    fetchRegistry: true
    serviceUrl:
      defaultZone: http://discover:1111/eureka
feign:
  hystrix:
    enabled: true # 开启Feign熔断

hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 50000
ribbon:
  ReadTimeout: 50000
  ConnectTimeout: 50000

mybatis:
  mapper-locations: classpath:mapper/*.xml
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    map-underscore-to-camel-case: true

logging:
  config: classpath:logback-spring.xml
  path: data/log

swagger:
  enabled: true

cloudDoctorUrl: https://testapi.chinachdu.com/cloud/doctorbasedata/
66 67 68 69 70
cloudDoctorUserUrl: https://testapi.chinachdu.com/cloud/doctoruser/

projprops:
  userFindUserId: https://testapi.chinachdu.com/cloud/doctoruser/user/finduserid
  userInfo: https://testapi.chinachdu.com/cloud/doctoruser/user/getuserinfoByUserId
杨凯's avatar
杨凯 committed
71 72 73 74
  baseAddress: https://testapi.chinachdu.com/
  familyDoctorThirdUrl: http://47.100.107.19:30002/open-api/app
  familyDoctorThirdClientId: 202305062345
  familyDoctorThirdClientSecret: test2020145634