提交 e1bdaebf 编写于 作者: ibizdev's avatar ibizdev

zhujiamin 发布系统代码 [TrainSys,网页端]

上级 b56fffc4
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
"dependencies": { "dependencies": {
"@floating-ui/dom": "^1.0.11", "@floating-ui/dom": "^1.0.11",
"@ibiz-template/command": "^0.0.1-beta.50", "@ibiz-template/command": "^0.0.1-beta.50",
"@ibiz-template/controller": "^0.0.1-beta.113", "@ibiz-template/controller": "^0.0.1-beta.114",
"@ibiz-template/core": "^0.0.1-beta.113", "@ibiz-template/core": "^0.0.1-beta.114",
"@ibiz-template/model": "^0.0.1-beta.113", "@ibiz-template/model": "^0.0.1-beta.114",
"@ibiz-template/runtime": "^0.0.1-beta.113", "@ibiz-template/runtime": "^0.0.1-beta.114",
"@ibiz-template/service": "^0.0.1-beta.113", "@ibiz-template/service": "^0.0.1-beta.114",
"@ibiz-template/theme": "^0.0.1-beta.113", "@ibiz-template/theme": "^0.0.1-beta.114",
"@ibiz-template/vue-util": "^0.0.1-beta.113", "@ibiz-template/vue-util": "^0.0.1-beta.114",
"@ibiz/dynamic-model-api": "^2.1.28", "@ibiz/dynamic-model-api": "^2.1.28",
"@riophae/vue-treeselect": "^0.4.0", "@riophae/vue-treeselect": "^0.4.0",
"dayjs": "^1.11.7", "dayjs": "^1.11.7",
......
...@@ -12,26 +12,26 @@ dependencies: ...@@ -12,26 +12,26 @@ dependencies:
specifier: ^0.0.1-beta.50 specifier: ^0.0.1-beta.50
version: 0.0.1-beta.50 version: 0.0.1-beta.50
'@ibiz-template/controller': '@ibiz-template/controller':
specifier: ^0.0.1-beta.113 specifier: ^0.0.1-beta.114
version: 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/runtime@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8) version: 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/runtime@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'@ibiz-template/core': '@ibiz-template/core':
specifier: ^0.0.1-beta.113 specifier: ^0.0.1-beta.114
version: 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0) version: 0.0.1-beta.114(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': '@ibiz-template/model':
specifier: ^0.0.1-beta.113 specifier: ^0.0.1-beta.114
version: 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8) version: 0.0.1-beta.114(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/runtime': '@ibiz-template/runtime':
specifier: ^0.0.1-beta.113 specifier: ^0.0.1-beta.114
version: 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qx-util@0.4.8) version: 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(qx-util@0.4.8)
'@ibiz-template/service': '@ibiz-template/service':
specifier: ^0.0.1-beta.113 specifier: ^0.0.1-beta.114
version: 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0) version: 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/theme': '@ibiz-template/theme':
specifier: ^0.0.1-beta.113 specifier: ^0.0.1-beta.114
version: 0.0.1-beta.113 version: 0.0.1-beta.114
'@ibiz-template/vue-util': '@ibiz-template/vue-util':
specifier: ^0.0.1-beta.113 specifier: ^0.0.1-beta.114
version: 0.0.1-beta.113(@ibiz-template/controller@0.0.1-beta.113)(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14) version: 0.0.1-beta.114(@ibiz-template/controller@0.0.1-beta.114)(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14)
'@ibiz/dynamic-model-api': '@ibiz/dynamic-model-api':
specifier: ^2.1.28 specifier: ^2.1.28
version: 2.1.28(qx-util@0.4.8) version: 2.1.28(qx-util@0.4.8)
...@@ -939,8 +939,8 @@ packages: ...@@ -939,8 +939,8 @@ packages:
qx-util: 0.4.8 qx-util: 0.4.8
dev: false dev: false
/@ibiz-template/controller@0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/runtime@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8): /@ibiz-template/controller@0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/runtime@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8):
resolution: {integrity: sha512-cVxCtMKkQIuLgQ8skUXkgHkoVzMYLY/jfXBwnnkf0tABqi216bRDZWIwWkCp7W+C/8poLJRQKrPPtbRYXX6CLA==} resolution: {integrity: sha512-kGXrW6J0Y5TwToUk+stPK6E5OmaU/hRLEZYu9sRDlDWXbKXsYxsr2+WY5o68U+YzBgOH5okdlCsQTjbkD6OT7A==}
peerDependencies: peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30 '@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30 '@ibiz-template/model': ^0.0.1-beta.30
...@@ -950,10 +950,10 @@ packages: ...@@ -950,10 +950,10 @@ packages:
qs: ^6.11.0 qs: ^6.11.0
qx-util: ^0.4.8 qx-util: ^0.4.8
dependencies: dependencies:
'@ibiz-template/core': 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/core': 0.0.1-beta.114(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8) '@ibiz-template/model': 0.0.1-beta.114(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/runtime': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qx-util@0.4.8) '@ibiz-template/runtime': 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/service': 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(qx-util@0.4.8)(ramda@0.28.0)
async-validator: 4.2.5 async-validator: 4.2.5
dayjs: 1.11.7 dayjs: 1.11.7
lodash-es: 4.17.21 lodash-es: 4.17.21
...@@ -961,8 +961,8 @@ packages: ...@@ -961,8 +961,8 @@ packages:
qx-util: 0.4.8 qx-util: 0.4.8
dev: false dev: false
/@ibiz-template/core@0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0): /@ibiz-template/core@0.0.1-beta.114(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0):
resolution: {integrity: sha512-xmSAxwrJyRLNZpyf1vyT32Ui1NSrh2GogcjI0nPbzqyChs8pzq8m7hwzvEZRlvyLl5hwnSTWkuvY3wuvfRQ42Q==} resolution: {integrity: sha512-yFvL8sUYnannqV1xPfGZYq5+goV+rsv5IkHDWrFkC78MxhLDfeyGZ5xaVQTofeObMAPHPgTWEinvc5hEXDXQdw==}
peerDependencies: peerDependencies:
lodash-es: ^4.17.21 lodash-es: ^4.17.21
qx-util: ^0.4.8 qx-util: ^0.4.8
...@@ -979,8 +979,8 @@ packages: ...@@ -979,8 +979,8 @@ packages:
- debug - debug
dev: false dev: false
/@ibiz-template/model@0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8): /@ibiz-template/model@0.0.1-beta.114(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8):
resolution: {integrity: sha512-TTeCRYaCwUQHZI3HSizaVykOC2NPS1ifxlo774giG+SmgaZ16zSVRveL9+JsbSwaj+sye0fqS7wPHNCT/0kUew==} resolution: {integrity: sha512-PY8YcL71FwdcRm5ZOBsYpdBTvjZKemZAs2bOMpZuEUvxU5N5VI0Yh89uPVz4feWAx/5+q/ru9toPsxU96mPSkA==}
peerDependencies: peerDependencies:
'@ibiz/dynamic-model-api': ^2.1.28 '@ibiz/dynamic-model-api': ^2.1.28
lodash-es: ^4.17.21 lodash-es: ^4.17.21
...@@ -992,8 +992,8 @@ packages: ...@@ -992,8 +992,8 @@ packages:
qx-util: 0.4.8 qx-util: 0.4.8
dev: false dev: false
/@ibiz-template/runtime@0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qx-util@0.4.8): /@ibiz-template/runtime@0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(qx-util@0.4.8):
resolution: {integrity: sha512-WbhZjd3UETF1k/7IAId1ROaoHA40xReVWSivvZ4VqE3UjHbZguqTcdamCX/ftLy/+FRuF4WF7XUUPVD6vhLK/A==} resolution: {integrity: sha512-eV/iY8iXDCHI9kKiNsQMbi4d4HZ9brWGPiOcfeM2rKlGhSmoUCzNb44/LYDqexy6y3+0snJ4jONg5zmodeX0KA==}
peerDependencies: peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30 '@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30 '@ibiz-template/model': ^0.0.1-beta.30
...@@ -1001,33 +1001,33 @@ packages: ...@@ -1001,33 +1001,33 @@ packages:
qx-util: ^0.4.8 qx-util: ^0.4.8
dependencies: dependencies:
'@ibiz-template/command': 0.0.1-beta.50 '@ibiz-template/command': 0.0.1-beta.50
'@ibiz-template/core': 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/core': 0.0.1-beta.114(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8) '@ibiz-template/model': 0.0.1-beta.114(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/service': 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(qx-util@0.4.8)(ramda@0.28.0)
qs: 6.11.1 qs: 6.11.1
qx-util: 0.4.8 qx-util: 0.4.8
dev: false dev: false
/@ibiz-template/service@0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0): /@ibiz-template/service@0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(qx-util@0.4.8)(ramda@0.28.0):
resolution: {integrity: sha512-/ECAWV7G15MUgXNu0wvyNeFW912XCAOyVxoC2IhigKksEGRdnUdYA6UpreSQvlODgh0Kb3OjJm8K2yJOvy5Nkg==} resolution: {integrity: sha512-zVai8Z31plwMxRoqkOKnQ2R5PiEuoiyL9Ycf2PxKFGk1Oa6NTsHkdRseRy9/ceEhTc5Oa64uttbTN2Haody32A==}
peerDependencies: peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30 '@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30 '@ibiz-template/model': ^0.0.1-beta.30
qx-util: ^0.4.8 qx-util: ^0.4.8
ramda: ^0.28.0 ramda: ^0.28.0
dependencies: dependencies:
'@ibiz-template/core': 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/core': 0.0.1-beta.114(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8) '@ibiz-template/model': 0.0.1-beta.114(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
qx-util: 0.4.8 qx-util: 0.4.8
ramda: 0.28.0 ramda: 0.28.0
dev: false dev: false
/@ibiz-template/theme@0.0.1-beta.113: /@ibiz-template/theme@0.0.1-beta.114:
resolution: {integrity: sha512-q5exdQNNfqD1Bgz917459kdxGGAsbgtij/TNyebUpZTqNJFaxz8zJfYZL6fGnLgWcQcmz1crMcITyxmW5tEaZA==} resolution: {integrity: sha512-dylf6gcZzBniokjSpn00jmr9yvtuyIK/KuA03OW9TivcL+0hg/3R7q3qiTYpBpj/zYj2mJ+S5KLb/JBxaWJH3g==}
dev: false dev: false
/@ibiz-template/vue-util@0.0.1-beta.113(@ibiz-template/controller@0.0.1-beta.113)(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14): /@ibiz-template/vue-util@0.0.1-beta.114(@ibiz-template/controller@0.0.1-beta.114)(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14):
resolution: {integrity: sha512-g0xfcyVxZOIUju6Oc4mzifq9iTP1Py3Gtd3s6iUb9tjA8Jgr32LT3tL1S1bH9myACcoC+ygL+nIKBKwz/+V4ZQ==} resolution: {integrity: sha512-cYLgGzvkIQlEij7PalsLt4yqY4jrX37jKFaO909UjUhYz7SO75/lSiOvrxxVZLa1J4vGzSrpcQesEFgsgL354w==}
peerDependencies: peerDependencies:
'@ibiz-template/controller': ^0.0.1-beta.30 '@ibiz-template/controller': ^0.0.1-beta.30
'@ibiz-template/core': ^0.0.1-beta.30 '@ibiz-template/core': ^0.0.1-beta.30
...@@ -1039,10 +1039,10 @@ packages: ...@@ -1039,10 +1039,10 @@ packages:
vue: ^2.7.14 vue: ^2.7.14
vue-router: ^3.6.5 vue-router: ^3.6.5
dependencies: dependencies:
'@ibiz-template/controller': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/runtime@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8) '@ibiz-template/controller': 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/runtime@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'@ibiz-template/core': 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/core': 0.0.1-beta.114(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8) '@ibiz-template/model': 0.0.1-beta.114(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0) '@ibiz-template/service': 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(qx-util@0.4.8)(ramda@0.28.0)
qs: 6.11.1 qs: 6.11.1
qx-util: 0.4.8 qx-util: 0.4.8
ramda: 0.28.0 ramda: 0.28.0
......
...@@ -55,12 +55,6 @@ ...@@ -55,12 +55,6 @@
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
mvn install -Ptrainsys
cd trainsys-provider
mvn -Ptrainsys docker:build
mvn -Ptrainsys docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/trainsys-provider-trainsys.yaml ebsx --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<profiles> <profiles>
<profile> <profile>
<id>trainsys</id> <id>runtime</id>
<build> <build>
<resources> <resources>
<resource> <resource>
......
...@@ -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
...@@ -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
......
...@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册