123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- server:
- port: 8077
- tomcat:
- max-connections: 100000
- max-http-form-post-size: 102400000
- spring:
- web:
- resources:
- static-locations: file:D:/我的文件/博颖项目/华北油田AI检索/smartsearch/src/main/resources/static/
- datasource:
- name: practice_db
- type: com.alibaba.druid.pool.DruidDataSource
- driver-class-name: com.mysql.cj.jdbc.Driver
- #基本属性
- url: jdbc:mysql://office.bowintek.com:3306/smartSearchDB?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true
- #url: jdbc:mysql://office.bowintek.com:3306/practicedb?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true
- username: root
- password: bowin123
- smartsearch:
- # 数据源基本配置
- username: root
- password: bowin123
- url: jdbc:mysql://office.bowintek.com:3306/smartSearchDB?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
- driver-class-name: com.mysql.jdbc.Driver
- postgre:
- # 数据源基本配置
- username: postgres
- password: bowin123
- url: jdbc:postgresql://office.bowintek.com:5432/postgres
- driver-class-name: org.postgresql.Driver
- druid:
- #监控统计拦截的filters
- filters: stat
- # driver-class-name: com.mysql.cj.jdbc.Driver
- # #基本属性
- # url: jdbc:mysql://office.bowintek.com:3306/smartSearchDB?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true
- # #url: jdbc:mysql://office.bowintek.com:3306/practicedb?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true
- # username: root
- # password: bowin123
- #配置初始化大小/最小/最大
- initial-size: 1
- min-idle: 1
- max-active: 20
- #获取连接等待超时时间
- max-wait: 60000
- #间隔多久进行一次检测,检测需要关闭的空闲连接
- time-between-eviction-runs-millis: 60000
- #一个连接在池中最小生存的时间
- min-evictable-idle-time-millis: 300000
- validation-query: SELECT 1
- test-while-idle: true
- test-on-borrow: false
- test-on-return: false
- #打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
- pool-prepared-statements: false
- max-pool-prepared-statement-per-connection-size: 20
- servlet:
- multipart:
- max-request-size: 50MB
- max-file-size: 20MB
- jackson:
- time-zone: GMT+8
- cache:
- redis:
- time-to-live: 60s
- type: redis
- redis:
- host: 192.168.0.68
- #host: 39.98.153.250
- port: 6379
- database: 0
- password: bowin123
- #password: borD1234
- timeout: 10000
- lettuce:
- pool:
- min-idle: 50
- max-idle: 100
- max-wait: -1
- max-active: 100
- #shutdown-timeout: 100ms
- mvc:
- async:
- request-timeout: 300000
- format:
- date: yyyy-MM-dd
- date-time: yyyy-MM-dd HH:mm:ss
- elasticsearch:
- hosts: 192.168.0.68
- port: 9200
- schema: http
- connectTimeOut: 1000
- socketTimeOut: 30000
- connectionRequestTimeOut: 500
- maxConnectNum: 100
- maxConnectPerRoute: 100
- preStr: es_
- logging:
- config: classpath:logback-spring.xml
- mybatis:
- mapper-locations: classpath:mapping/*.xml,mapping/cquery/*.xml
- type-aliases-package: com.bowintek.practice.model
- configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- pagehelper:
- reasonable: true
- supportMethodsArguments: true
- params: count=countSql
- appconfig:
- #开发平台设置
- isDev: true
- uploadfile-url: d:/sitefile
- desKey: MMmmHHss
- #ftp配置 192.168.0.51:21@aqfxgk:qwe123
- #ftp-host: 192.168.0.68
- #ftp-port: 21
- #ftp-user: FtpUser
- #ftp-pwd: bowin123
- ftp-host: 39.98.145.11
- ftp-port: 21
- ftp-user: BowinFtp
- ftp-pwd: Ftp!A2019
- #定时服务执行配置
- jobconfig:
- isRunJob: true
- major-cron: '0 0 4 1 * ?'
- class-cron: '0 0 5 1 * ?'
- student-cron: '0 0 6 1 * ?'
- teacher-cron: '0 0 7 1 * ?'
- #同步教务系统组织结构数据配置
- educonfig:
- oracledb:
- username: sx_grant_view
- password: zytec712
- url: jdbc:oracle:thin:@//183.56.239.71:1521/edu_gdyfvccm
- driver-class-name: oracle.jdbc.OracleDriver
- oauthconfig:
- oauthUrl: http://user.api.uat.pcep.cloud/
- client_id: 2d4a5b3c-dc6c-4231-914c-ca1a4d3a134b
- client_secret: e2afdc026c4e745714d2f3b2a2e393686c11f66f
- hdfshelperurl: http://10.73.178.206:8078/hdfshelper/
|