潘志宝
2024-08-23 f6f7626221ee9c0475c519c40e292f85703ece5a
提交 | 用户 | 时间
a6de49 1 spring:
H 2   cloud:
3     nacos:
4       discovery:
5         server-addr: 172.16.1.148:8848 # 注册中心地址  nacos server
6       config:
7         server-addr: 172.16.1.148:8848 # 配置中心地址 nacos server
8         file-extension: yml # 配置中心的配置后缀
9   datasource:
10     type: com.alibaba.druid.pool.DruidDataSource
11     druid:
12       driver-class-name: com.mysql.cj.jdbc.Driver
13       url: jdbc:mysql://172.16.1.148:3306/iailab_ntt_data?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
14       username: root
15       password: 123456
16       initial-size: 10
17       max-active: 100
18       min-idle: 10
19       max-wait: 60000
20       pool-prepared-statements: true
21       max-pool-prepared-statement-per-connection-size: 20
22       time-between-eviction-runs-millis: 60000
23       min-evictable-idle-time-millis: 300000
24       #validationQuery是用来验证数据库连接的查询语句,这个查询语句必须是至少返回一条结果的SELECT语句。每种数据库都有各自的验证语句
25       #validation-query: select 1 from sysibm.sysdummy1
26       test-while-idle: true
27       test-on-borrow: false
28       test-on-return: false
29       stat-view-servlet:
30         enabled: true
31         url-pattern: /druid/*
32         #login-username: admin
33         #login-password: admin
34       filter:
35         stat:
36           log-slow-sql: true
37           slow-sql-millis: 1000
38           merge-sql: false
39         wall:
40           config:
41             multi-statement-allow: true
42   redis:
f6f762 43     host: 172.16.8.100 # 地址
44     port: 6379 # 端口
45     database: 0 # 数据库索引
46     password: 123456 # 密码,建议生产环境开启
a6de49 47     jedis:
H 48       pool:
49         max-active: 1000  # 连接池最大连接数(使用负值表示没有限制)
50         max-wait: -1ms      # 连接池最大阻塞等待时间(使用负值表示没有限制)
51         max-idle: 10      # 连接池中的最大空闲连接
52         min-idle: 5       # 连接池中的最小空闲连接
53
54 oadp:
55   domain: http://172.16.1.148:6010
56
57 influx-db:
58   org: IAILab
59   bucket: whs_data
60   token: dUoFsmlooCbyHsleY17w-_KpVf7vaFVRz0xBBuH4GZeOygMekoKpVi8kGIw49K_Qp_UDNf3RHpInoUIi4rTsow==
61   url: http://172.16.1.148:8086
62
63 iems:
64   upload-dir: D:/DLUT/znjt/safe/webapp/static/temp/