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

jackwang 部署微服务接口

上级 f02dfd9f
......@@ -37,11 +37,11 @@
git clone -b master $para2 ibizhumanresources/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibizhumanresources/
mvn clean package -Ppim
cd humanresource-app/humanresource-app-pim
mvn -Ppim docker:build
mvn -Ppim docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/humanresource-app-pim.yaml iBizEE --with-registry-auth
mvn clean package -Phrapi
cd humanresource-provider/humanresource-provider-hrapi
mvn -Phrapi docker:build
mvn -Phrapi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/humanresource-provider-hrapi.yaml iBizEE --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
......@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /humanresource-app-pim.jar
EXPOSE 10327
EXPOSE 8080
ADD humanresource-app-pim.jar /humanresource-app-pim.jar
......@@ -3,25 +3,9 @@ services:
humanresource-app-pim:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-app-pim:latest
ports:
- "10327:10327"
- "8080:8080"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10327
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
- SPRING_DATASOURCE_PASSWORD=b1@@@772
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
- CAS=https://passport.ibizlab.cn
- NACOS=172.16.240.110:8848
- SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
- SEATA_ENABLED=true
deploy:
resources:
limits:
......
......@@ -86,7 +86,7 @@
<!--输出实体[HRCONTRACT]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-hrcontract-29-4">
<changeSet author="a_LAB01_e85d8801c" id="tab-hrcontract-32-4">
<createTable tableName="T_HRCONTRACT">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......@@ -1087,10 +1087,10 @@
<addForeignKeyConstraint baseColumnNames="REGISTERORGANIZATIONID" baseTableName="T_HRCERTIFICATE" constraintName="DER1N_HRCERTIFICATE_HRORGANIZA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ORGANIZATIONID" referencedTableName="ORGANIZATION" validate="true"/>
</changeSet>
<!--输出实体[HRCONTRACT]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-hrcontract-29-38">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrcontract-32-38">
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRCONTRACT" constraintName="DER1N_HRCONTRACT_HREMPLOYEE_HR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-hrcontract-29-39">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrcontract-32-39">
<addForeignKeyConstraint baseColumnNames="MGRORGANIZATIONID" baseTableName="T_HRCONTRACT" constraintName="DER1N_HRCONTRACT_HRORGANIZATIO" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ORGANIZATIONID" referencedTableName="ORGANIZATION" validate="true"/>
</changeSet>
<!--输出实体[HRDISTRIBUTION]外键关系 -->
......
......@@ -27,12 +27,22 @@
</flowable:field>
</extensionElements>
<serviceTask id="sid-03b4ae8ee2fa25738b7579cbb122e922" name="11" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
<extensionElements>
<flowable:field name="service-entity"><flowable:string>hrtransferapplies</flowable:string></flowable:field>
<flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field>
<flowable:field name="params-checkstatus"><flowable:string>40</flowable:string></flowable:field>
</extensionElements>
</serviceTask>
<userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman}" flowable:exclusive="true" id="tid-40-a89d2487b1f410af51ab756faf165cec" name="调入单位初审" >
<documentation>${majortext}</documentation>
</userTask>
<userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman}" flowable:exclusive="true" id="tid-30-540ddba2db43673548fde279d87f4646" name="调出单位董事长审批" >
<documentation>${majortext}</documentation>
</userTask>
<userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman}" flowable:exclusive="true" id="tid-20-bc2714d25b1d4d05e613ffa390c73722" name="调出单位初审" >
<documentation>${majortext}</documentation>
</userTask>
<endEvent id="sid-aa50f0cdc470fc7eda80586253f9e119" name="结束"/>
<serviceTask id="sid-4f4cbd1b1c56a1afdf6b732acbdbb3d2" name="更新处理状态为已完成" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
<extensionElements>
......@@ -41,52 +51,78 @@
<flowable:field name="params-checkstatus"><flowable:string>30</flowable:string></flowable:field>
</extensionElements>
</serviceTask>
<userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman}" flowable:exclusive="true" id="tid-20-f2cb6a9ecbf87e93ead4a1876a395ed1" name="调出单位初审" >
<userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman}" flowable:exclusive="true" id="tid-60-5cfc5caf8f5afd9ecd89d8d1b8150fb9" name="总部审核" >
<documentation>${majortext}</documentation>
</userTask>
<userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman}" flowable:exclusive="true" id="tid-50-2460008b701052acd8ecac24c4d32104" name="调入单位董事长审批" >
<documentation>${majortext}</documentation>
</userTask>
<startEvent id="sid-0c0b39a1bdc3bc642bd55e20074e3366" name="提交"/>
<sequenceFlow id="rid-d10ee45b277664dc874aaae387b8dd50" sourceRef="sid-0c0b39a1bdc3bc642bd55e20074e3366" targetRef="tid-20-f2cb6a9ecbf87e93ead4a1876a395ed1" name="">
<userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman}" flowable:exclusive="true" id="tid-10-61fa76aef8b148d06d26738ab8df9c5c" name="申请人" >
<documentation>${majortext}</documentation>
</userTask>
<sequenceFlow id="lid-C66-808fa6a9d839ca12601d48985c25c146" sourceRef="tid-20-bc2714d25b1d4d05e613ffa390c73722" targetRef="tid-30-540ddba2db43673548fde279d87f4646" name="提交至董事长审批">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C66-808fa6a9d839ca12601d48985c25c146"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="lid-C3935-f003f6f6430c6c5a10a3a90db954b75c" sourceRef="tid-40-a89d2487b1f410af51ab756faf165cec" targetRef="tid-30-540ddba2db43673548fde279d87f4646" name="驳回">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C3935-f003f6f6430c6c5a10a3a90db954b75c"}]]></conditionExpression>
<sequenceFlow id="lid-C57-475292a85036efce09182887d07ecb43" sourceRef="tid-20-bc2714d25b1d4d05e613ffa390c73722" targetRef="tid-10-61fa76aef8b148d06d26738ab8df9c5c" name="驳回">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C57-475292a85036efce09182887d07ecb43"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="lid-C6-42cf03141ff296c8ea8edeaaf0c80078" sourceRef="tid-40-a89d2487b1f410af51ab756faf165cec" targetRef="tid-50-2460008b701052acd8ecac24c4d32104" name="操作6">
<sequenceFlow id="rid-d10ee45b277664dc874aaae387b8dd50" sourceRef="sid-0c0b39a1bdc3bc642bd55e20074e3366" targetRef="tid-20-bc2714d25b1d4d05e613ffa390c73722" name="">
</sequenceFlow>
<sequenceFlow id="lid-C9013-b7dc81b095aac12e1e98287b432fca6f" sourceRef="tid-10-61fa76aef8b148d06d26738ab8df9c5c" targetRef="tid-20-bc2714d25b1d4d05e613ffa390c73722" name="提交">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C9013-b7dc81b095aac12e1e98287b432fca6f"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="lid-C32-b8169ba01165a618f4859c098bb70803" sourceRef="tid-10-61fa76aef8b148d06d26738ab8df9c5c" targetRef="sid-03b4ae8ee2fa25738b7579cbb122e922" name="操作32">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C32-b8169ba01165a618f4859c098bb70803"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="lid-C6-42cf03141ff296c8ea8edeaaf0c80078" sourceRef="tid-40-a89d2487b1f410af51ab756faf165cec" targetRef="tid-50-2460008b701052acd8ecac24c4d32104" name="提交至董事长审批">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C6-42cf03141ff296c8ea8edeaaf0c80078"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="lid-C66-808fa6a9d839ca12601d48985c25c146" sourceRef="tid-20-f2cb6a9ecbf87e93ead4a1876a395ed1" targetRef="tid-30-540ddba2db43673548fde279d87f4646" name="提交至董事长审批">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C66-808fa6a9d839ca12601d48985c25c146"}]]></conditionExpression>
<sequenceFlow id="lid-C3935-f003f6f6430c6c5a10a3a90db954b75c" sourceRef="tid-40-a89d2487b1f410af51ab756faf165cec" targetRef="tid-30-540ddba2db43673548fde279d87f4646" name="驳回">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C3935-f003f6f6430c6c5a10a3a90db954b75c"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="lid-C52-6e94ead480b361ea3cf2388dd0f4ad6d" sourceRef="tid-30-540ddba2db43673548fde279d87f4646" targetRef="tid-40-a89d2487b1f410af51ab756faf165cec" name="审批通过">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C52-6e94ead480b361ea3cf2388dd0f4ad6d"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="lid-C2749-c7d1fbc1b289333425d0fb28da3639b3" sourceRef="tid-30-540ddba2db43673548fde279d87f4646" targetRef="tid-20-f2cb6a9ecbf87e93ead4a1876a395ed1" name="驳回">
<sequenceFlow id="lid-C2749-c7d1fbc1b289333425d0fb28da3639b3" sourceRef="tid-30-540ddba2db43673548fde279d87f4646" targetRef="tid-20-bc2714d25b1d4d05e613ffa390c73722" name="驳回">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C2749-c7d1fbc1b289333425d0fb28da3639b3"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="rid-49e9839c4ba5dd23b6d04d1a11bde213" sourceRef="sid-4f4cbd1b1c56a1afdf6b732acbdbb3d2" targetRef="sid-aa50f0cdc470fc7eda80586253f9e119" name="">
</sequenceFlow>
<sequenceFlow id="lid-C6-dd9e939df4b7366c0ac99bf3a0f9c7d5" sourceRef="tid-50-2460008b701052acd8ecac24c4d32104" targetRef="sid-4f4cbd1b1c56a1afdf6b732acbdbb3d2" name="操作6">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C6-dd9e939df4b7366c0ac99bf3a0f9c7d5"}]]></conditionExpression>
<sequenceFlow id="lid-C4444-31ffc83d7a660246be7b0b3b6eb25589" sourceRef="tid-50-2460008b701052acd8ecac24c4d32104" targetRef="tid-40-a89d2487b1f410af51ab756faf165cec" name="驳回">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C4444-31ffc83d7a660246be7b0b3b6eb25589"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="lid-C7471-05cdc25aefc652bb4942cd5d9f10d927" sourceRef="tid-50-2460008b701052acd8ecac24c4d32104" targetRef="tid-60-5cfc5caf8f5afd9ecd89d8d1b8150fb9" name="审批通过">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C7471-05cdc25aefc652bb4942cd5d9f10d927"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="lid-C1738-a1c2b4e373d9cca6b4f4e32c42b8cc93" sourceRef="tid-60-5cfc5caf8f5afd9ecd89d8d1b8150fb9" targetRef="sid-4f4cbd1b1c56a1afdf6b732acbdbb3d2" name="审核通过">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C1738-a1c2b4e373d9cca6b4f4e32c42b8cc93"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="rid-06b7a1f6d29806b9129acadbe7514e5f" sourceRef="sid-03b4ae8ee2fa25738b7579cbb122e922" targetRef="sid-aa50f0cdc470fc7eda80586253f9e119" name="">
</sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_ibizhumanresources-transferapplicationapprovalv1">
<bpmndi:BPMNPlane id="BPMNPlane_ibizhumanresources-transferapplicationapprovalv1" bpmnElement="ibizhumanresources-transferapplicationapprovalv1">
<bpmndi:BPMNShape id="BPMNShape-03b4ae8ee2fa25738b7579cbb122e922" bpmnElement="sid-03b4ae8ee2fa25738b7579cbb122e922">
<omgdi:Bounds x="495" y="345" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-a89d2487b1f410af51ab756faf165cec" bpmnElement="tid-40-a89d2487b1f410af51ab756faf165cec">
<omgdi:Bounds x="750" y="6" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-540ddba2db43673548fde279d87f4646" bpmnElement="tid-30-540ddba2db43673548fde279d87f4646">
<omgdi:Bounds x="480" y="6" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-bc2714d25b1d4d05e613ffa390c73722" bpmnElement="tid-20-bc2714d25b1d4d05e613ffa390c73722">
<omgdi:Bounds x="191" y="6" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-aa50f0cdc470fc7eda80586253f9e119" bpmnElement="sid-aa50f0cdc470fc7eda80586253f9e119">
<omgdi:Bounds x="1470" y="32" width="30" height="30" />
<omgdi:Bounds x="765" y="371" width="30" height="30" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-4f4cbd1b1c56a1afdf6b732acbdbb3d2" bpmnElement="sid-4f4cbd1b1c56a1afdf6b732acbdbb3d2">
<omgdi:Bounds x="1230" y="6" width="100" height="80" />
<omgdi:Bounds x="1005" y="345" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-f2cb6a9ecbf87e93ead4a1876a395ed1" bpmnElement="tid-20-f2cb6a9ecbf87e93ead4a1876a395ed1">
<omgdi:Bounds x="191" y="6" width="100" height="80" />
<bpmndi:BPMNShape id="BPMNShape-5cfc5caf8f5afd9ecd89d8d1b8150fb9" bpmnElement="tid-60-5cfc5caf8f5afd9ecd89d8d1b8150fb9">
<omgdi:Bounds x="1005" y="180" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-2460008b701052acd8ecac24c4d32104" bpmnElement="tid-50-2460008b701052acd8ecac24c4d32104">
<omgdi:Bounds x="1005" y="6" width="100" height="80" />
......@@ -94,11 +130,26 @@
<bpmndi:BPMNShape id="BPMNShape-0c0b39a1bdc3bc642bd55e20074e3366" bpmnElement="sid-0c0b39a1bdc3bc642bd55e20074e3366">
<omgdi:Bounds x="30" y="31" width="30" height="30" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-61fa76aef8b148d06d26738ab8df9c5c" bpmnElement="tid-10-61fa76aef8b148d06d26738ab8df9c5c">
<omgdi:Bounds x="191" y="345" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge-lid-C66-808fa6a9d839ca12601d48985c25c146" bpmnElement="lid-C66-808fa6a9d839ca12601d48985c25c146">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge-lid-C57-475292a85036efce09182887d07ecb43" bpmnElement="lid-C57-475292a85036efce09182887d07ecb43">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge-rid-d10ee45b277664dc874aaae387b8dd50" bpmnElement="rid-d10ee45b277664dc874aaae387b8dd50">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge-lid-C3935-f003f6f6430c6c5a10a3a90db954b75c" bpmnElement="lid-C3935-f003f6f6430c6c5a10a3a90db954b75c">
<bpmndi:BPMNEdge id="BPMNEdge-lid-C9013-b7dc81b095aac12e1e98287b432fca6f" bpmnElement="lid-C9013-b7dc81b095aac12e1e98287b432fca6f">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge-lid-C32-b8169ba01165a618f4859c098bb70803" bpmnElement="lid-C32-b8169ba01165a618f4859c098bb70803">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
......@@ -106,7 +157,7 @@
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge-lid-C66-808fa6a9d839ca12601d48985c25c146" bpmnElement="lid-C66-808fa6a9d839ca12601d48985c25c146">
<bpmndi:BPMNEdge id="BPMNEdge-lid-C3935-f003f6f6430c6c5a10a3a90db954b75c" bpmnElement="lid-C3935-f003f6f6430c6c5a10a3a90db954b75c">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
......@@ -122,7 +173,19 @@
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge-lid-C6-dd9e939df4b7366c0ac99bf3a0f9c7d5" bpmnElement="lid-C6-dd9e939df4b7366c0ac99bf3a0f9c7d5">
<bpmndi:BPMNEdge id="BPMNEdge-lid-C4444-31ffc83d7a660246be7b0b3b6eb25589" bpmnElement="lid-C4444-31ffc83d7a660246be7b0b3b6eb25589">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge-lid-C7471-05cdc25aefc652bb4942cd5d9f10d927" bpmnElement="lid-C7471-05cdc25aefc652bb4942cd5d9f10d927">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge-lid-C1738-a1c2b4e373d9cca6b4f4e32c42b8cc93" bpmnElement="lid-C1738-a1c2b4e373d9cca6b4f4e32c42b8cc93">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge-rid-06b7a1f6d29806b9129acadbe7514e5f" bpmnElement="rid-06b7a1f6d29806b9129acadbe7514e5f">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
......
......@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /humanresource-provider-hrapi.jar
EXPOSE 8081
EXPOSE 10317
ADD humanresource-provider-hrapi.jar /humanresource-provider-hrapi.jar
......@@ -3,9 +3,25 @@ services:
humanresource-provider-hrapi:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-provider-hrapi:latest
ports:
- "8081:8081"
- "10317:10317"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10317
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
- SPRING_DATASOURCE_PASSWORD=b1@@@772
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
- CAS=https://passport.ibizlab.cn
- NACOS=172.16.240.110:8848
- SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
- SEATA_ENABLED=true
deploy:
resources:
limits:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册