123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- server:
- port: 48080
- ---
- 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://127.0.0.1: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: 123456
- slave:
- name: ruoyi-vue-pro
- url: jdbc:mysql://127.0.0.1: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: 123456
- activiti:
-
-
-
-
- database-schema-update: true
-
- db-history-used: true
- check-process-definitions: true
-
- history-level: full
-
- redis:
- host: 127.0.0.1
- port: 6379
- database: 0
- ---
- spring:
- quartz:
- scheduler-name: schedulerName
- job-store-type: jdbc
- wait-for-jobs-to-complete-on-shutdown: true
- properties:
- org:
- quartz:
-
- scheduler:
- instanceName: schedulerName
- instanceId: AUTO
-
- jobStore:
- class: org.quartz.impl.jdbcjobstore.JobStoreTX
- isClustered: true
- clusterCheckinInterval: 15000
- misfireThreshold: 60000
-
- threadPool:
- threadCount: 25
- threadPriority: 5
- class: org.quartz.simpl.SimpleThreadPool
- jdbc:
- initialize-schema: NEVER
- ---
- 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
-
- context-path: /admin
- logging:
- file:
- name: ${user.home}/logs/${spring.application.name}.log
- ---
- yudao:
- captcha:
- enable: false
- security:
- token-header: Authorization
- token-secret: abcdefghijklmnopqrstuvwxyz
- token-timeout: 1d
- session-timeout: 30m
- mock-enable: true
- mock-secret: test
- file:
- base-path: http://127.0.0.1:${server.port}${yudao.web.api-prefix}/infra/file/get/
- xss:
- enable: false
- exclude-urls:
- - ${spring.boot.admin.context-path}/**
- - ${management.endpoints.web.base-path}/**
- pay:
- pay-notify-url: http://niubi.natapp1.cc/api/pay/order/notify
- refund-notify-url: http://niubi.natapp1.cc/api/pay/refund/notify
- demo: false
- justauth:
- enabled: true
- type:
- GITEE:
- client-id: ee61f0374a4c6c404a8717094caa7a410d76950e45ff60348015830c519ba5c1
- client-secret: 7c044a5671be3b051414db0cf2cec6ad702dd298d2416ba24ceaf608e6fa26f9
- ignore-check-redirect-uri: true
- DINGTALK:
- client-id: dingvrnreaje3yqvzhxg
- client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI
- ignore-check-redirect-uri: true
- WECHAT_ENTERPRISE:
- client-id: wwd411c69a39ad2e54
- client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw
- agent-id: 1000004
- ignore-check-redirect-uri: true
- cache:
- type: REDIS
- prefix: 'social_auth_state:'
- timeout: 24h
|