techhero-resources-basic-natived.yml 2.59 KB
Newer Older
Administrator committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
spring:
  redis:
    database: 10
    host: 119.96.87.17
    port: 6379
    password: techhero
    timeout: 5000
    pool:
      max-active: 8
      max-wait: -1
      max-idle: 8
      min-idle: 0
  datasource:
    druid:
      stat-view-servlet:
        loginUsername: root
        loginPassword: root
18
      initial-size: 3
Administrator committed
19
      max-active: 20
20
      min-idle: 8
Administrator committed
21
      max-wait: 60000
22
      test-while-idle: true
Administrator committed
23 24 25 26 27 28 29
      time-between-eviction-runs-millis: 60000
      validation-query: select 1 from dual
      filters: stat,slf4j
    dynamic:
      primary: basic
      datasource:
        basic:
30
          url: jdbc:oracle:thin:@databaseServer:30100:orcl
31 32
          username: ur_base_local001
          password: YmFzZV9sb2NhbA
33
          driver-class-name: oracle.jdbc.OracleDriver
Administrator committed
34 35
    
  rabbitmq:
36
    host: 119.96.87.17
Administrator committed
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
    port: 5672
    username: techhero
    password: techhero
    virtual-host: /framework
    listener:
      simple:
        acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
    
    # 交换机
    exchanges:
      - name: basic.person.update.exchange
        type: topic
    # 队列
    queues:
      - name: basic.person.update.queue
        routing-key: basic.person.update.key
        exchange-name: basic.person.update.exchange
        
57
minio:
58 59 60 61 62 63 64 65 66 67 68 69 70
  accessKey: Tj3lmVW59Zjq4gDQ
  secretKey: De2SOr1MCflzUM8YwA9UKVBj3suuc8ci
  bucket: unionresource
  endpoint: http://119.96.87.17:30107
  readPath: http://119.96.87.17:30107
  enable: true #开启使用Minio 对应LeadNewsAutoConfig中的@ConditionalOnProperty注解属性
# minio:
#   access-key: zbtcHuxlmcLu5tTK
#   secret-key: 8tx5t2wEzCc87Goskmwl1t3MGysT8h2p
#   bucket: pretest
#   endpoint: http://[fdff:1:1:1::2]:9000
#   readPath: http://[fdff:1:1:1::2]:9000
#   enable: true #开启使用Minio 对应LeadNewsAutoConfig中的@ConditionalOnProperty注解属性  
71

72
  
Administrator committed
73 74 75 76
pdftemplate:
  defaultImg: F:/test/pdf/templete/default.jpeg
  collegeProfessorPdf: F:/test/pdf/templete/高校专家申报信息表1110.pdf
  noCollegeProfessorPdf : F:/test/pdf/templete/非高校专家申报信息表1110.pdf
77 78 79

xxl:
  job:
80
    enabled: false
81 82 83 84 85 86 87 88 89 90
    admin:
      addresses: http://127.0.0.1:18801/xxl-job-admin
    accessToken: default_token
    executor:
      appname: ${spring.application.name}
      address:
      ip: 127.0.0.1
      port: 9990
      log-path: ${user.home}/logs/${spring.application.name}/xxl-job/job.log
      logretentiondays: 30
Administrator committed
91