Commit 2e2b96eb authored by huangcb's avatar huangcb

调整demo配置环境信息

parent 20917c7c
......@@ -3,8 +3,8 @@ spring:
type: com.alibaba.druid.pool.DruidDataSource
druid:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.31.248:3306/data_center?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false
username: data_center
url: jdbc:mysql://192.168.0.17:3306/iot?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false
username: iot
password: 123456
initial-size: 5
min-idle: 5
......@@ -23,7 +23,7 @@ spring:
merge-sql: false
redis:
database: 0
host: 192.168.31.248
host: 192.168.0.17
port: 6379
password:
timeout: 3000
......@@ -74,15 +74,15 @@ db:
map: 1-string,2-number,3-boolean
timescale:
data-source:
jdbc-url: jdbc:postgresql://192.168.31.248:5432/iot
jdbc-url: jdbc:postgresql://192.168.0.17:54321/iot
driver-class-name: org.postgresql.Driver
validation-query: SELECT 1
username: iot
password: 123456
connection-timeout: 10000
minimum-idle: 1
maximum-pool-size: 1
minimum-idle: 5
maximum-pool-size: 10
max-lifetime: 0
table-field:
map: string-text,number-numeric,boolean-bit(1)
table-prefix: iot_model_
\ No newline at end of file
map: string-text,number-numeric,integer-int8,boolean-bit(1),date-date,time-int4,datetime-timestamptz
table-prefix: iot_data_model_
\ No newline at end of file
......@@ -80,8 +80,8 @@ timescale:
username: iot
password: 123456
connection-timeout: 10000
minimum-idle: 1
maximum-pool-size: 1
minimum-idle: 5
maximum-pool-size: 10
max-lifetime: 0
table-field:
map: string-text,number-numeric,integer-int8,boolean-bit(1),date-date,time-int4,datetime-timestamptz
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment