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.
97 lines
2.9 KiB
97 lines
2.9 KiB
server:
|
|
port: 8085
|
|
servlet:
|
|
context-path: /cars-api
|
|
#context-path: /
|
|
|
|
spring:
|
|
datasource:
|
|
dynamic:
|
|
primary: db1
|
|
strict: false
|
|
datasource:
|
|
db1:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
url: jdbc:mysql://116.196.120.81:3306/device_system?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false
|
|
username: root
|
|
password: 5ea47c0bdd7146ebbd53020eca@672307
|
|
db2:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
url: jdbc:mysql://116.196.120.81:3306/image_analysix_wz?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=false
|
|
username: root
|
|
password: 5ea47c0bdd7146ebbd53020eca@672307
|
|
#Hikari连接池配置
|
|
hikari:
|
|
#池中维护的最小空闲连接数
|
|
minimum-idle: 5
|
|
#池中最大连接数,包括闲置和使用中的连接
|
|
maximum-pool-size: 15
|
|
#自动提交从池中返回的连接
|
|
auto-commit: true
|
|
#连接允许在池中闲置的最长时间
|
|
idle-timeout: 30000
|
|
#连接池的用户定义名称,主要出现在日志记录和JMX管理控制台中以识别池和池配置
|
|
pool-name: DatebookHikariCP
|
|
#池中连接最长生命周期
|
|
max-lifetime: 18000000
|
|
#等待来自池的连接的最大毫秒数
|
|
connection-timeout: 30000
|
|
#验证该连接是否是有效的查询语句
|
|
connection-test-query: select 1 from dual
|
|
cloud:
|
|
inetutils:
|
|
timeout-seconds: 1000
|
|
config:
|
|
enabled: false
|
|
# redis 相关
|
|
redis:
|
|
host: ${REDIS_URL:localhost}
|
|
port: ${REDIS_PORT:6379}
|
|
password: ${REDIS_PWD:111111}
|
|
timeout: 10000
|
|
jedis:
|
|
pool:
|
|
max-active: 1000
|
|
max-wait: -1ms
|
|
max-idle: 10
|
|
min-idle: 5
|
|
swagger:
|
|
show: true
|
|
analysis:
|
|
url: http://192.168.1.123:9000/vi/syncrec
|
|
|
|
upload:
|
|
img:
|
|
url: http://192.168.1.83:18081/file/img/
|
|
path: D:\\service\\fileService\\img\\
|
|
python:
|
|
path: C:\\Users\\admin\\Anaconda3\\envs\\myconda310\\python.exe
|
|
modelPath: D:\\smartGrid\\smartGrid\\models
|
|
netty:
|
|
address: 192.168.3.20
|
|
port: 2404
|
|
data:
|
|
pathUrl: http://192.168.1.82:8081/api/dataAnalysisCamera/getComer
|
|
#pathUrl: http://192.168.1.44:8081/api/dataAnalysisCamera/getComer
|
|
eureka:
|
|
instance:
|
|
instance-id: ${spring.cloud.client.ip-address}:${server.port}
|
|
prefer-ip-address: true
|
|
client:
|
|
healthcheck:
|
|
enabled: true
|
|
service-url:
|
|
defaultZone: http://localhost:8184/eureka
|
|
minio:
|
|
url: http://192.168.1.210:9000
|
|
accessKey: minioadmin
|
|
secretKey: minioadmin
|
|
udp:
|
|
server:
|
|
host: 172.26.4.59
|
|
port: 9300
|
|
station:
|
|
id: 2
|
|
name: 交城站
|