techhero-platform-permission-local.yml 1.75 KB
Newer Older
Administrator committed
1
spring:
2 3
  redis:
    database: 10
4
    host: 119.96.87.17
5 6
    port: 6379
    password: techhero
7
    timeout: 5000
8 9 10 11 12
    pool:
      max-active: 8
      max-wait: -1
      max-idle: 8
      min-idle: 0
Administrator committed
13
  datasource:
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
    druid:
      stat-view-servlet:
        loginUsername: root
        loginPassword: root
      initial-size: 1
      max-active: 20
      min-idle: 3
      max-wait: 60000
      time-between-eviction-runs-millis: 60000
      validation-query: select 1 from dual
      filters: stat,slf4j
    dynamic:
      primary: system
      datasource:
        system:
          url: jdbc:mysql://119.96.87.17:30101/ur_base_local?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
          username: ur_base_local
          password: YmFzZV9sb2NhbA==
          driver-class-name: com.mysql.cj.jdbc.Driver
33
  
34 35 36 37 38 39 40 41 42 43 44
  rabbitmq:
    host: dev-env
    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)
Administrator committed
45

46 47 48 49 50 51 52 53 54 55 56
    # 交换机
    exchanges:
      # 考试计划交换机
      - name: exam.plan.exchange
        type: DIRECT
    # 队列
    queues:
      # 考试计划队列
      - name: exam.plan.queue
        routing-key: exam.plan.key
        exchange-name: exam.plan.exchange
Administrator committed
57

58 59 60 61 62 63
# oss:
#   bucketName: jyksy-gjjybzh
#   httpEndpoint: ctyoss.chutianyun.gov.cn:8060
#   httpsEndpoint: https://ctyoss.chutianyun.gov.cn:10443
#   accessKey: L3B7SA05OXT0V9WKD02N
#   secretKey: D0O4yTDqBCteH0p5dAgRibxZ8rNSLg0PShFF94IL