|
@@ -1,3 +1,7 @@
|
|
|
|
|
+server:
|
|
|
|
|
+ # 服务器的HTTP端口,默认为8080
|
|
|
|
|
+ port: 89
|
|
|
|
|
+
|
|
|
# 数据源配置
|
|
# 数据源配置
|
|
|
spring:
|
|
spring:
|
|
|
datasource:
|
|
datasource:
|
|
@@ -6,7 +10,7 @@ spring:
|
|
|
druid:
|
|
druid:
|
|
|
# 主库数据源
|
|
# 主库数据源
|
|
|
master:
|
|
master:
|
|
|
- url: jdbc:mysql://222.243.138.146:8712/ygtx_gxt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
|
+ url: jdbc:mysql://192.168.254.253:3306/ygtx_gxt_demo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
username: root
|
|
username: root
|
|
|
password: 11rrRRvv90)*9&FuuI}{
|
|
password: 11rrRRvv90)*9&FuuI}{
|
|
|
# 从库数据源
|
|
# 从库数据源
|
|
@@ -18,7 +22,7 @@ spring:
|
|
|
password:
|
|
password:
|
|
|
# 源数据库数据源(用于设备同步)
|
|
# 源数据库数据源(用于设备同步)
|
|
|
source:
|
|
source:
|
|
|
- url: jdbc:mysql://222.243.138.146:8712/equipment_source?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
|
+ url: jdbc:mysql://192.168.254.253:3306/equipment_source?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
username: root
|
|
username: root
|
|
|
password: 11rrRRvv90)*9&FuuI}{
|
|
password: 11rrRRvv90)*9&FuuI}{
|
|
|
initialSize: 5
|
|
initialSize: 5
|