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.
69 lines
2.2 KiB
69 lines
2.2 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 |
|
test1: |
|
type: com.alibaba.druid.pool.DruidDataSource |
|
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver |
|
url: jdbc:sqlserver://65.47.6.114:1433;databaseName=VisitManage_CS |
|
username: ck1112 |
|
password: CK@20241112 |
|
druid: |
|
min-evictable-idle-time-millis: 300000 |
|
test-on-borrow: false |
|
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 |
|
|
|
negative: |
|
v1-user-url: http://65.47.6.108:8765/admin/current/user |