数字督察一体化平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

125 lines
4.5 KiB

spring:
datasource:
dynamic:
datasource:
master:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://65.47.6.109:3306/negative?serverTimezone=GMT%2B8&useSSL=false
username: root
password: ip12341234
slave:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://65.47.6.109:3306/open-platform?serverTimezone=GMT%2B8&useSSL=false
username: root
password: ip12341234
slave2:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.gbase.jdbc.Driver
url: jdbc:gbase://65.47.16.209:5258/csga_dwd
username: csga_wdpc
password: csga_wdpc@123
slave3:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: dm.jdbc.driver.DmDriver
url: jdbc:dm://65.47.22.243:5236?SCHEMA=JSDZ_4GDB
username: DCZD
password: DCZD@2024
slave4:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://65.47.6.109:3306/csga_wdpcdb?serverTimezone=GMT%2B8&useSSL=false
username: root
password: ip12341234
mailbox:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://65.47.60.178:5432/mailbox?currentSchema=mailbox
username: dba
password: Ip12341234
wvp:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://65.47.6.109:3306/wvp2?serverTimezone=GMT%2B8&useSSL=false
username: root
password: ip12341234
zbdm:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: dm.jdbc.driver.DmDriver
url: jdbc:dm://65.32.34.9:5237?SCHEMA=CSGA110
username: dczd_cx
password: dczd#110110
slave5:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.gbase.jdbc.Driver
url: jdbc:gbase://65.47.16.209:5258/db_kxzd_xxzx
username: csga_wdpc
password: csga_wdpc@123
invest:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://65.47.6.109:3306/invert?serverTimezone=GMT%2B8&useSSL=false
username: root
password: ip12341234
druid:
keep-alive: true # 启用连接保活(主动发送心跳)
keep-alive-between-time-millis: 600000 # 保活检测间隔 10 分钟(务必小于 2 小时)
min-evictable-idle-time-millis: 300000
test-on-borrow: true
test-on-return: false
initial-size: 10
min-idle: 10
max-wait: 60000
pool-prepared-statements: true
test-while-idle: true
validation-query: select 1
time-between-eviction-runs-millis: 60000
max-pool-prepared-statement-per-connection-size: 20
max-active: 100
# druid监控全局配置
druid:
stat-view-servlet:
enabled: true
url-pattern: /druid/*
wall:
multi-statement-allow: true
data:
redis:
host: 65.47.6.109
# 端口,默认为6379
port: 6379
password: ip1234!@#$
fdfs:
tracker-list:
- 65.47.6.110:22122
preview-url: http://65.47.6.110:81
so-timeout: 120000 # socket超时增加到120秒(默认30秒)
connect-timeout: 10000 # 连接超时10秒(默认5秒)
pool:
max-total: 100 # 从池中借出的对象的最大数目
max-wait-millis: 5000 # 获取连接时的最大等待毫秒数
max-total-per-key: 50 # 每个key最大连接数
max-idle-per-key: 10 # 每个key对应的连接池最大空闲连接数
min-idle-per-key: 5 # 每个key对应的连接池最小空闲连接数
negative:
v1-user-url: http://65.47.6.108:8765/admin/current/user
videoInspection:
url: http://65.47.26.33:8090/
video-img-url: http://65.47.6.105:18080/
video-ws: ws://65.47.6.105:80/
mailbox:
url: http://65.47.60.145/api/
#logging:
# file:
# path: /work/supervision/logs
#
#mybatis-plus:
# configuration:
# # 开启SQL日志输出到SLF4J(只输出语句,不输出结果)
# log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl