Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
5fc5a444
提交
5fc5a444
编写于
8月 13, 2024
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fangzhihao 部署微服务应用 [TrainSys,网页端]
上级
e31088bc
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
534 行增加
和
55 行删除
+534
-55
swarm.yaml
app_Web/swarm.yaml
+1
-1
config.xml
config.xml
+9
-6
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+517
-2
pom.xml
trainsys-provider/pom.xml
+1
-1
Dockerfile
trainsys-provider/src/main/docker/Dockerfile
+1
-1
trainsys-provider-trainsys-k8s.yaml
...vider/src/main/docker/trainsys-provider-trainsys-k8s.yaml
+4
-29
trainsys-provider-trainsys.yaml
...-provider/src/main/docker/trainsys-provider-trainsys.yaml
+1
-15
未找到文件。
app_Web/swarm.yaml
浏览文件 @
5fc5a444
...
@@ -3,7 +3,7 @@ services:
...
@@ -3,7 +3,7 @@ services:
trainsys-app-web
:
trainsys-app-web
:
image
:
dstimage
image
:
dstimage
ports
:
ports
:
-
"
8
0:80"
-
"
5010
0:80"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
environment
:
...
...
config.xml
浏览文件 @
5fc5a444
...
@@ -55,12 +55,15 @@
...
@@ -55,12 +55,15 @@
git clone -b master $para2 trainsys/
git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096
export NODE_OPTIONS=--max-old-space-size=4096
cd trainsys/
cd trainsys/
mvn clean package -Ptrainsys
mkdir -p /var/lib/jenkins/appcache/A3064A91-F42D-4D7F-BC1C-4173A4F5772C
mvn install -Ptrainsys
if [ -e app_Web/.dynamic ]
cd trainsys-provider
then
mvn -Ptrainsys docker:build
cd app_Web
mvn -Ptrainsys docker:push
else
docker -H $para1 stack deploy --compose-file=src/main/docker/trainsys-provider-trainsys.yaml ebsx --with-registry-auth
cd app_Web/app
fi
sed -i "s#dstimage#registry.cn-shanghai.aliyuncs.com/ibizsys/ibizcloud-standardsys-app-webapp:2022.09.01.001#g" swarm.yaml
docker -H $para1 stack deploy --compose-file=swarm.yaml ebsx --with-registry-auth
</command>
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
5fc5a444
...
@@ -14209,7 +14209,7 @@
...
@@ -14209,7 +14209,7 @@
"ctrlParams" : {
"ctrlParams" : {
"BORDERSTYLE" : "CustomDV7",
"BORDERSTYLE" : "CustomDV7",
"ROLLMODE" : "STEP",
"ROLLMODE" : "STEP",
"SPEED" : "
3
"
"SPEED" : "
2
"
},
},
"id" : "LIST"
"id" : "LIST"
},
},
...
@@ -22395,6 +22395,45 @@
...
@@ -22395,6 +22395,45 @@
},
},
"enableAppDashboard" : true,
"enableAppDashboard" : true,
"enableDEDashboard" : true
"enableDEDashboard" : true
}, {
"codeName" : "Usr08129386DashboardViewdashboard_sysportlet3",
"name" : "dashboard_sysportlet3",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSAppPortletCat" : {
"codeName" : "Ungroup",
"name" : "(未分类)",
"uniqueTag" : "Ungroup",
"ungroup" : true
},
"getPSControl" : {
"codeName" : "Usr08129386DashboardViewdashboard_sysportlet3",
"controlType" : "PORTLET",
"name" : "dashboard_sysportlet3",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "dashboard_sysportlet3"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"portletType" : "SYSPORTLET",
"showTitleBar" : true,
"modelid" : "89738baff6d9ca462dd4320bf30ee2d1_dashboard_sysportlet3",
"modeltype" : "PSSYSDBPART"
},
"enableAppDashboard" : true
}, {
}, {
"codeName" : "Screen_border1",
"codeName" : "Screen_border1",
"name" : "CustomDV1",
"name" : "CustomDV1",
...
@@ -86385,7 +86424,7 @@
...
@@ -86385,7 +86424,7 @@
"ctrlParams" : {
"ctrlParams" : {
"BORDERSTYLE" : "CustomDV7",
"BORDERSTYLE" : "CustomDV7",
"ROLLMODE" : "STEP",
"ROLLMODE" : "STEP",
"SPEED" : "
3
"
"SPEED" : "
2
"
},
},
"id" : "LIST"
"id" : "LIST"
},
},
...
@@ -96121,6 +96160,482 @@
...
@@ -96121,6 +96160,482 @@
"showTitleBar" : true,
"showTitleBar" : true,
"modelid" : "69B37237-16DC-46CF-A497-1940B23615BE",
"modelid" : "69B37237-16DC-46CF-A497-1940B23615BE",
"modeltype" : "PSSYSDBPART"
"modeltype" : "PSSYSDBPART"
}, {
"codeName" : "fullScreen_carouselList",
"controlType" : "PORTLET",
"height" : 400.0,
"name" : "dashboard_sysportlet2",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "dashboard_sysportlet2"
},
"getPSControlParam" : {
"height" : 400.0,
"width" : 500.0,
"autoLoad" : true,
"showBusyIndicator" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"height" : 400,
"heightMode" : "PX",
"layout" : "TABLE_24COL",
"width" : 500,
"widthMode" : "PX"
},
"getPortletPSAppView" : {
"accUserMode" : 2,
"caption" : "大屏轮播列表",
"codeName" : "studentUsr08082562ListView",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentUsr08082562ListView.json",
"mDCtrlActiveMode" : 0,
"name" : "studentUsr08082562ListView",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSAppModule" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Ungroup.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "ListView",
"name" : "engine"
} ],
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPUILOGIC",
"name" : "opendata",
"getPSAppUILogic" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"getOpenDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSAppViewRefs" : [ {
"name" : "EDITDATA",
"realTitle" : "学生编辑视图",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSControls" : [ {
"codeName" : "StudentList",
"controlStyle" : "CAROUSEL_LIST",
"controlType" : "LIST",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create",
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSLISTS/StudentList.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch",
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load",
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"groupMode" : "NONE",
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "NAME"
}, {
"id" : "field_text_dynamic1",
"viewFieldName" : "AGE"
} ],
"codeName" : "Usr0808174925",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSPANELS/Usr0808174925.json",
"layoutMode" : "FLEX",
"logicName" : "StudentList列表",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"contentHeight" : 60.0,
"height" : 60.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"align" : "space-between",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 60,
"heightMode" : "PX",
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "NAME"
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic1",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic1",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "AGE"
} ]
} ],
"layoutPanel" : true,
"name" : "list_itempanel",
"modelid" : "145BD2FF-E0B5-4BE5-ABE1-7EF3BF4E6B82",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "StudentList",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "列表控件处理器"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"ctrlParams" : {
"BORDERSTYLE" : "CustomDV7",
"ROLLMODE" : "STEP",
"SPEED" : "2"
},
"id" : "LIST"
},
"getPSDEListDataItems" : [ {
"dataType" : 25,
"name" : "address"
}, {
"dataType" : 25,
"name" : "studentname"
}, {
"dataType" : 25,
"name" : "name"
}, {
"dataType" : 9,
"name" : "age"
}, {
"dataType" : 25,
"name" : "studentid"
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "STUDENTID",
"codeName" : "StudentId"
}
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "STUDENTNAME",
"codeName" : "StudentName"
}
}, {
"dataType" : 25,
"name" : "pstudentid",
"getPSAppDEField" : {
"name" : "PSTUDENTID",
"codeName" : "Pstudentid"
}
} ],
"getPSDEListItems" : [ {
"align" : "LEFT",
"caption" : "地址",
"dataItemName" : "address",
"itemType" : "TEXTITEM",
"name" : "ADDRESS",
"width" : 150,
"widthString" : "150px",
"enableSort" : true
} ],
"getPSSysPFPlugin" : {
"pluginType" : "LIST_RENDER",
"pluginCode" : "CAROUSEL_LIST"
},
"pagingSize" : 1000,
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove",
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update",
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"hasWFDataItems" : false,
"enableGroup" : false,
"enableRowEdit" : false,
"enableRowEditGroup" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"noSort" : false,
"showHeader" : true,
"singleSelect" : false,
"name" : "list",
"modelid" : "7155BF55-897F-4A8F-8C6F-AE7104900209",
"modeltype" : "PSDELIST"
}, {
"controlType" : "SEARCHBAR",
"name" : "searchbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : {
"id" : "searchbar"
},
"quickGroupCount" : -1,
"quickSearchMode" : 0,
"quickSearchWidth" : 0,
"enableFilter" : false,
"enableGroup" : false,
"enableQuickSearch" : false,
"mobileSearchBar" : false
}, {
"caption" : "大屏轮播列表",
"codeName" : "Usr08082562ListViewcaptionbar",
"controlType" : "CAPTIONBAR",
"name" : "captionbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : { }
} ],
"getPSDEViewCodeName" : "Usr08082562ListView",
"getPSDEViewId" : "D49E76D1-17ED-41DB-A98F-9846E31254FE",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDELISTVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "大屏轮播列表",
"viewStyle" : "DEFAULT",
"viewType" : "DELISTVIEW",
"xDataControlName" : "list",
"enableDP" : true,
"enableFilter" : true,
"enableSearch" : true,
"readOnly" : true,
"modelid" : "5cc4d9906f07c8a66d4c0f5bff92188c",
"modeltype" : "PSAPPDEVIEW"
},
"portletType" : "VIEW",
"title" : "步骤滚动-2秒-项设置边框",
"width" : 500.0,
"showTitleBar" : true,
"modelid" : "905D9833-D7C6-473D-9CCC-98D6415CE2BD",
"modeltype" : "PSSYSDBPART"
}, {
"codeName" : "Usr08129386DashboardViewdashboard_sysportlet3",
"controlType" : "PORTLET",
"name" : "dashboard_sysportlet3",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "dashboard_sysportlet3"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"portletType" : "SYSPORTLET",
"showTitleBar" : true,
"modelid" : "89738baff6d9ca462dd4320bf30ee2d1_dashboard_sysportlet3",
"modeltype" : "PSSYSDBPART"
} ],
} ],
"enableCustomized" : false,
"enableCustomized" : false,
"name" : "dashboard",
"name" : "dashboard",
trainsys-provider/pom.xml
浏览文件 @
5fc5a444
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<profiles>
<profiles>
<profile>
<profile>
<id>
trainsys
</id>
<id>
runtime
</id>
<build>
<build>
<resources>
<resources>
<resource>
<resource>
...
...
trainsys-provider/src/main/docker/Dockerfile
浏览文件 @
5fc5a444
...
@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
...
@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /trainsys-provider.jar
java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /trainsys-provider.jar
EXPOSE
50000
EXPOSE
8081
ADD
trainsys-provider.jar /trainsys-provider.jar
ADD
trainsys-provider.jar /trainsys-provider.jar
trainsys-provider/src/main/docker/trainsys-provider-trainsys-k8s.yaml
浏览文件 @
5fc5a444
...
@@ -22,32 +22,7 @@ spec:
...
@@ -22,32 +22,7 @@ spec:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
imagePullPolicy
:
Always
imagePullPolicy
:
Always
ports
:
ports
:
-
containerPort
:
50000
-
containerPort
:
8081
env
:
-
name
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
value
:
"
172.16.240.140"
-
name
:
SERVER_PORT
value
:
"
50000"
-
name
:
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR
value
:
"
172.16.240.140:8848"
-
name
:
SPRING_REDIS_HOST
value
:
"
127.0.0.1"
-
name
:
SPRING_REDIS_PORT
value
:
"
6379"
-
name
:
SPRING_REDIS_DATABASE
value
:
"
0"
-
name
:
SPRING_DATASOURCE_USERNAME
value
:
"
a_LAB01_d23cc850e"
-
name
:
SPRING_DATASOURCE_PASSWORD
value
:
"
f9Df4556"
-
name
:
SPRING_DATASOURCE_URL
value
:
"
jdbc:mysql://172.16.186.185:3306/a_LAB01_d23cc850e?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true&serverTimezone=GMT%2B8"
-
name
:
SPRING_DATASOURCE_DRIVER-CLASS-NAME
value
:
"
com.mysql.jdbc.Driver"
-
name
:
SPRING_DATASOURCE_DEFAULTSCHEMA
value
:
"
a_LAB01_d23cc850e"
-
name
:
NACOS
value
:
"
172.16.240.140:8848"
---
---
apiVersion
:
v1
apiVersion
:
v1
...
@@ -60,9 +35,9 @@ spec:
...
@@ -60,9 +35,9 @@ spec:
type
:
NodePort
type
:
NodePort
ports
:
ports
:
-
name
:
http
-
name
:
http
port
:
50000
port
:
8081
targetPort
:
50000
targetPort
:
8081
nodePort
:
50000
nodePort
:
8081
protocol
:
TCP
protocol
:
TCP
selector
:
selector
:
app
:
trainsys-provider
app
:
trainsys-provider
...
...
trainsys-provider/src/main/docker/trainsys-provider-trainsys.yaml
浏览文件 @
5fc5a444
...
@@ -3,23 +3,9 @@ services:
...
@@ -3,23 +3,9 @@ services:
trainsys-provider
:
trainsys-provider
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
ports
:
ports
:
-
"
50000:50000
"
-
"
8081:8081
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.140
-
SERVER_PORT=50000
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.140:8848
-
SPRING_CLOUD_NACOS_CONFIG_SERVER-ADDR=172.16.240.140:8848
-
SPRING_REDIS_HOST=127.0.0.1
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_LAB01_d23cc850e
-
SPRING_DATASOURCE_PASSWORD=f9Df4556
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_d23cc850e?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true&serverTimezone=GMT%2B8
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_d23cc850e
-
NACOS=172.16.240.140:8848
deploy
:
deploy
:
resources
:
resources
:
limits
:
limits
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录