2022-04-21 20:51:45 +08:00
|
|
|
|
server:
|
|
|
|
|
port: 8888
|
2022-04-11 15:03:55 +08:00
|
|
|
|
spring:
|
|
|
|
|
datasource:
|
|
|
|
|
druid:
|
|
|
|
|
#MySQL
|
2022-05-26 18:59:34 +08:00
|
|
|
|
|
2022-04-11 15:03:55 +08:00
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
2022-10-27 09:26:11 +08:00
|
|
|
|
url: jdbc:mysql://192.168.124.46:3306/share_platform?useUnicode=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&useSSL=false
|
2022-04-11 15:03:55 +08:00
|
|
|
|
username: root
|
2022-10-27 09:26:11 +08:00
|
|
|
|
password: Liwen073898!
|
2022-05-26 18:59:34 +08:00
|
|
|
|
#Hisense2019
|
2022-06-15 14:23:09 +08:00
|
|
|
|
# #Oracle
|
|
|
|
|
# driver-class-name: oracle.jdbc.OracleDriver
|
|
|
|
|
# url: jdbc:oracle:thin:@192.168.10.10:1521:xe
|
|
|
|
|
# username: renren_security
|
|
|
|
|
# password: 123456
|
|
|
|
|
# #SQLServer
|
|
|
|
|
# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
|
|
# url: jdbc:sqlserver://localhost:1433;DatabaseName=security_enterprise
|
|
|
|
|
# username: sa
|
|
|
|
|
# password: 123456
|
|
|
|
|
# #postgresql
|
|
|
|
|
# driver-class-name: org.postgresql.Driver
|
|
|
|
|
# url: jdbc:postgresql://192.168.10.10:5432/postgres
|
|
|
|
|
# username: postgres
|
|
|
|
|
# password: 123456
|
2022-07-06 10:22:55 +08:00
|
|
|
|
initial-size: 50
|
|
|
|
|
max-active: 1000
|
|
|
|
|
min-idle: 100
|
|
|
|
|
max-wait: 100
|
|
|
|
|
removeAbandoned: true
|
|
|
|
|
removeAbandonedTimeout: 300
|
|
|
|
|
logAbandoned: false
|
2022-04-11 15:03:55 +08:00
|
|
|
|
pool-prepared-statements: true
|
|
|
|
|
max-pool-prepared-statement-per-connection-size: 20
|
|
|
|
|
time-between-eviction-runs-millis: 60000
|
2022-07-12 10:24:51 +08:00
|
|
|
|
min-evictable-idle-time-millis: 60000
|
2022-04-11 15:03:55 +08:00
|
|
|
|
#Oracle需要打开注释
|
2022-04-28 11:24:51 +08:00
|
|
|
|
validation-query: SELECT 1
|
2022-04-11 15:03:55 +08:00
|
|
|
|
test-while-idle: true
|
|
|
|
|
test-on-borrow: false
|
|
|
|
|
test-on-return: false
|
|
|
|
|
stat-view-servlet:
|
|
|
|
|
enabled: true
|
|
|
|
|
url-pattern: /druid/*
|
|
|
|
|
#login-username: admin
|
|
|
|
|
#login-password: admin
|
|
|
|
|
filter:
|
|
|
|
|
stat:
|
|
|
|
|
log-slow-sql: true
|
|
|
|
|
slow-sql-millis: 1000
|
|
|
|
|
merge-sql: false
|
|
|
|
|
wall:
|
|
|
|
|
config:
|
|
|
|
|
multi-statement-allow: true
|
2022-06-23 11:45:19 +08:00
|
|
|
|
flyway:
|
|
|
|
|
enabled: true
|
|
|
|
|
validate-on-migrate: false
|
2022-06-23 11:48:28 +08:00
|
|
|
|
# 允许乱序执行
|
2022-06-23 11:45:19 +08:00
|
|
|
|
out-of-order: true
|
2022-04-21 15:28:10 +08:00
|
|
|
|
#上传的静态资源配置
|
|
|
|
|
resource:
|
2022-08-01 11:22:29 +08:00
|
|
|
|
root_url: 192.168.124.236
|
2022-06-01 19:12:31 +08:00
|
|
|
|
pic-host: http://${resource.root_url}:${server.port}${server.servlet.context-path}
|
2022-04-21 15:28:10 +08:00
|
|
|
|
path: /home/yth/files/
|
2022-04-25 17:53:08 +08:00
|
|
|
|
devModelFilePath: /home/yth/files/devModelFile
|
2022-06-15 14:23:09 +08:00
|
|
|
|
|
|
|
|
|
# 大数据部门相关配置(平台部署部门)
|
2022-04-24 09:45:43 +08:00
|
|
|
|
big_date:
|
|
|
|
|
name: 青岛市大数据发展管理局
|
|
|
|
|
assignee_role_name: 部门审批人
|
2022-08-22 17:59:18 +08:00
|
|
|
|
assignee_district_role_name: 区审批人
|
|
|
|
|
assignee_city_role_name: 市审批人
|
2022-06-15 14:23:09 +08:00
|
|
|
|
# 平台部署级别 (PROVINCE:省 PREFECTURE:地级市 DISTRICT:区县 STREET:街道)
|
|
|
|
|
stage: PREFECTURE
|
2022-04-24 09:45:43 +08:00
|
|
|
|
|
2022-04-28 11:24:51 +08:00
|
|
|
|
hisense:
|
|
|
|
|
gateway:
|
2022-09-07 13:46:14 +08:00
|
|
|
|
name: 聚好看网关
|
2022-04-28 11:24:51 +08:00
|
|
|
|
url: http://devtest-security-app.hismarttv.com:8080
|
|
|
|
|
|
2022-06-02 16:55:00 +08:00
|
|
|
|
qdyjj:
|
|
|
|
|
ipAndPort: 15.2.21.238:9015
|
2022-04-21 15:28:10 +08:00
|
|
|
|
|
2022-06-07 09:11:50 +08:00
|
|
|
|
yawei:
|
|
|
|
|
enable: false
|
|
|
|
|
|
2022-06-30 10:19:04 +08:00
|
|
|
|
sso:
|
|
|
|
|
mode:
|
|
|
|
|
|
2022-04-11 15:03:55 +08:00
|
|
|
|
##多数据源的配置,需要引用renren-dynamic-datasource
|
|
|
|
|
#dynamic:
|
|
|
|
|
# datasource:
|
|
|
|
|
# slave1:
|
|
|
|
|
# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
|
|
# url: jdbc:sqlserver://123456:1433;DatabaseName=security_enterprise
|
|
|
|
|
# username: sa
|
|
|
|
|
# password: 123456
|
|
|
|
|
# slave2:
|
|
|
|
|
# driver-class-name: org.postgresql.Driver
|
|
|
|
|
# url: jdbc:postgresql://123456:5432/security_enterprise
|
|
|
|
|
# username: postgres
|
2022-07-19 15:51:15 +08:00
|
|
|
|
# password: 123456
|
|
|
|
|
|
|
|
|
|
#同步摄像头标签表t_channel_mtm_label需要链接的数据库配置
|
|
|
|
|
synchro:
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
2022-07-19 16:03:43 +08:00
|
|
|
|
url: jdbc:mysql://15.2.21.238:3310/share_platform?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&useSSL=false
|
2022-07-19 15:51:15 +08:00
|
|
|
|
username: root
|
2022-07-19 16:03:43 +08:00
|
|
|
|
password: Hisense2019
|