123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- server:
- port: 28080
- ---
- spring:
-
- autoconfigure:
- exclude:
- - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
- datasource:
- druid:
- web-stat-filter:
- enabled: true
- stat-view-servlet:
- enabled: true
- allow:
- url-pattern: /druid/*
- login-username:
- login-password:
- filter:
- stat:
- enabled: true
- log-slow-sql: true
- slow-sql-millis: 100
- merge-sql: true
- wall:
- config:
- multi-statement-allow: true
- dynamic:
- druid:
- initial-size: 5
- min-idle: 10
- max-active: 20
- max-wait: 600000
- time-between-eviction-runs-millis: 60000
- min-evictable-idle-time-millis: 300000
- max-evictable-idle-time-millis: 900000
- validation-query: SELECT 1 FROM DUAL
- test-while-idle: true
- test-on-borrow: false
- test-on-return: false
- primary: master
- datasource:
- master:
- name: ruoyi-vue-pro
- url: jdbc:mysql://400-infra.server.iocoder.cn:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT
- driver-class-name: com.mysql.jdbc.Driver
- username: root
- password: 3WLiVUBEwTbvAfsh
- slave:
- name: ruoyi-vue-pro
- url: jdbc:mysql://400-infra.server.iocoder.cn:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT
- driver-class-name: com.mysql.jdbc.Driver
- username: root
- password: 3WLiVUBEwTbvAfsh
-
- redis:
- host: 400-infra.server.iocoder.cn
- port: 6379
- database: 1
- ---
- spring:
- quartz:
- auto-startup: false
- ---
- apollo:
- bootstrap:
- enabled: true
- eagerLoad:
- enabled: true
- jdbc:
- dao: cn.iocoder.yudao.coreservice.modules.infra.dal.mysql.config.InfConfigCoreDAOImpl
- url: ${spring.datasource.dynamic.datasource.master.url}
- username: ${spring.datasource.dynamic.datasource.master.username}
- password: ${spring.datasource.dynamic.datasource.master.password}
- ---
- lock4j:
- acquire-timeout: 3000
- expire: 30000
- resilience4j:
- ratelimiter:
- instances:
- backendA:
- limit-for-period: 1
- limit-refresh-period: 60s
- timeout-duration: 1s
- register-health-indicator: true
- ---
- management:
- endpoints:
- web:
- base-path: /actuator
- exposure:
- include: '*'
- spring:
- boot:
- admin:
-
- client:
- url: http://127.0.0.1:${server.port}/${spring.boot.admin.context-path}
- instance:
- prefer-ip: true
- logging:
- file:
- name: ${user.home}/logs/${spring.application.name}.log
- ---
- wx:
- mp:
-
- app-id: wx041349c6f39b268b
- secret: 5abee519483bc9f8cb37ce280e814bd0
-
- config-storage:
- type: RedisTemplate
- key-prefix: wx
- http-client-type: HttpClient
- ---
- yudao:
- security:
- token-header: Authorization
- token-secret: abcdefghijklmnopqrstuvwxyz
- token-timeout: 1d
- session-timeout: 30m
- mock-enable: true
- mock-secret: test
- file:
- base-path: http://api-dashboard.yudao.iocoder.cn${yudao.web.api-prefix}/infra/file/get/
- xss:
- enable: false
- exclude-urls:
- - ${spring.boot.admin.context-path}/**
- - ${management.endpoints.web.base-path}/**
- demo: true
- pay:
- pay-notify-url: http://niubi.natapp1.cc/api/pay/order/notify
- refund-notify-url: http://niubi.natapp1.cc/api/pay/refund/notify
- justauth:
- enabled: true
- type:
- WECHAT_MP:
- client-id: wxa5a05b85ac361f96
- client-secret: 247073c7cebb67f27f0e769195c2a57e
- ignore-check-redirect-uri: true
- WECHAT_MINI_PROGRAM:
- client-id: wx44d047d87e6284d8
- client-secret: 21c3b7a8a51ee1b8f5cf875848ed4466
- ignore-check-redirect-uri: true
- ignore-check-state: true
- cache:
- type: REDIS
- prefix: 'social_auth_state:'
- timeout: 24h
|