Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iot-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SuperHive
back-end
iot-service
Commits
2e2b96eb
Commit
2e2b96eb
authored
Aug 11, 2020
by
huangcb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整demo配置环境信息
parent
20917c7c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
application-demo.yml
src/main/resources/application-demo.yml
+8
-8
application-dev.yml
src/main/resources/application-dev.yml
+2
-2
No files found.
src/main/resources/application-demo.yml
View file @
2e2b96eb
...
@@ -3,8 +3,8 @@ spring:
...
@@ -3,8 +3,8 @@ spring:
type
:
com.alibaba.druid.pool.DruidDataSource
type
:
com.alibaba.druid.pool.DruidDataSource
druid
:
druid
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
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
url
:
jdbc:mysql://192.168.
0.17:3306/iot
?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false
username
:
data_center
username
:
iot
password
:
123456
password
:
123456
initial-size
:
5
initial-size
:
5
min-idle
:
5
min-idle
:
5
...
@@ -23,7 +23,7 @@ spring:
...
@@ -23,7 +23,7 @@ spring:
merge-sql
:
false
merge-sql
:
false
redis
:
redis
:
database
:
0
database
:
0
host
:
192.168.
31.248
host
:
192.168.
0.17
port
:
6379
port
:
6379
password
:
password
:
timeout
:
3000
timeout
:
3000
...
@@ -74,15 +74,15 @@ db:
...
@@ -74,15 +74,15 @@ db:
map
:
1-string,2-number,3-boolean
map
:
1-string,2-number,3-boolean
timescale
:
timescale
:
data-source
:
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
driver-class-name
:
org.postgresql.Driver
validation-query
:
SELECT
1
validation-query
:
SELECT
1
username
:
iot
username
:
iot
password
:
123456
password
:
123456
connection-timeout
:
10000
connection-timeout
:
10000
minimum-idle
:
1
minimum-idle
:
5
maximum-pool-size
:
1
maximum-pool-size
:
1
0
max-lifetime
:
0
max-lifetime
:
0
table-field
:
table-field
:
map
:
string-text,number-numeric,boolean-bit(1)
map
:
string-text,number-numeric,integer-int8,boolean-bit(1),date-date,time-int4,datetime-timestamptz
table-prefix
:
iot_model_
table-prefix
:
iot_data_model_
\ No newline at end of file
\ No newline at end of file
src/main/resources/application-dev.yml
View file @
2e2b96eb
...
@@ -80,8 +80,8 @@ timescale:
...
@@ -80,8 +80,8 @@ timescale:
username
:
iot
username
:
iot
password
:
123456
password
:
123456
connection-timeout
:
10000
connection-timeout
:
10000
minimum-idle
:
1
minimum-idle
:
5
maximum-pool-size
:
1
maximum-pool-size
:
1
0
max-lifetime
:
0
max-lifetime
:
0
table-field
:
table-field
:
map
:
string-text,number-numeric,integer-int8,boolean-bit(1),date-date,time-int4,datetime-timestamptz
map
:
string-text,number-numeric,integer-int8,boolean-bit(1),date-date,time-int4,datetime-timestamptz
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment