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

ibizdev提交

上级 582742a8
...@@ -38,6 +38,11 @@ ...@@ -38,6 +38,11 @@
git clone -b master $para2 ehr/ git clone -b master $para2 ehr/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd ehr/ cd ehr/
mvn clean package -Pwebapi
cd ehr-provider/ehr-provider-webapi
mvn -Pwebapi docker:build
mvn -Pwebapi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ehr-provider-webapi.yaml iBizEE --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
因为 它太大了无法显示 源差异 。您可以改为 查看blob
因为 它太大了无法显示 源差异 。您可以改为 查看blob
...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \ ...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \ sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-parttimeperson.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-parttimeperson.jar
EXPOSE 8081 EXPOSE 5080
ADD ehr-provider-parttimeperson.jar /ehr-provider-parttimeperson.jar ADD ehr-provider-parttimeperson.jar /ehr-provider-parttimeperson.jar
...@@ -3,9 +3,11 @@ services: ...@@ -3,9 +3,11 @@ services:
ehr-provider-parttimeperson: ehr-provider-parttimeperson:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-parttimeperson:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-parttimeperson:latest
ports: ports:
- "8081:8081" - "5080:5080"
networks: networks:
- agent_network - agent_network
environment:
SPRING_CLOUD_NACOS_DISCOVERY_IP: 172.16.240.110
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1
......
server: server:
port: 8081 port: 5080
\ No newline at end of file \ No newline at end of file
...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \ ...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \ sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-saasadmin.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-saasadmin.jar
EXPOSE 8081 EXPOSE 5080
ADD ehr-provider-saasadmin.jar /ehr-provider-saasadmin.jar ADD ehr-provider-saasadmin.jar /ehr-provider-saasadmin.jar
...@@ -3,9 +3,11 @@ services: ...@@ -3,9 +3,11 @@ services:
ehr-provider-saasadmin: ehr-provider-saasadmin:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-saasadmin:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-saasadmin:latest
ports: ports:
- "8081:8081" - "5080:5080"
networks: networks:
- agent_network - agent_network
environment:
SPRING_CLOUD_NACOS_DISCOVERY_IP: 172.16.240.110
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1
......
server: server:
port: 8081 port: 5080
\ No newline at end of file \ No newline at end of file
...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \ ...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \ sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-specialrole.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-specialrole.jar
EXPOSE 8081 EXPOSE 5080
ADD ehr-provider-specialrole.jar /ehr-provider-specialrole.jar ADD ehr-provider-specialrole.jar /ehr-provider-specialrole.jar
...@@ -3,9 +3,11 @@ services: ...@@ -3,9 +3,11 @@ services:
ehr-provider-specialrole: ehr-provider-specialrole:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-specialrole:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-specialrole:latest
ports: ports:
- "8081:8081" - "5080:5080"
networks: networks:
- agent_network - agent_network
environment:
SPRING_CLOUD_NACOS_DISCOVERY_IP: 172.16.240.110
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1
......
server: server:
port: 8081 port: 5080
\ No newline at end of file \ No newline at end of file
...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \ ...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \ sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-webapi.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-webapi.jar
EXPOSE 8081 EXPOSE 5080
ADD ehr-provider-webapi.jar /ehr-provider-webapi.jar ADD ehr-provider-webapi.jar /ehr-provider-webapi.jar
...@@ -3,9 +3,11 @@ services: ...@@ -3,9 +3,11 @@ services:
ehr-provider-webapi: ehr-provider-webapi:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-webapi:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-webapi:latest
ports: ports:
- "8081:8081" - "5080:5080"
networks: networks:
- agent_network - agent_network
environment:
SPRING_CLOUD_NACOS_DISCOVERY_IP: 172.16.240.110
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1
......
server: server:
port: 8081 port: 5080
\ No newline at end of file \ No newline at end of file
...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \ ...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \ sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-wfcallback.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ehr-provider-wfcallback.jar
EXPOSE 8081 EXPOSE 5080
ADD ehr-provider-wfcallback.jar /ehr-provider-wfcallback.jar ADD ehr-provider-wfcallback.jar /ehr-provider-wfcallback.jar
...@@ -3,9 +3,11 @@ services: ...@@ -3,9 +3,11 @@ services:
ehr-provider-wfcallback: ehr-provider-wfcallback:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-wfcallback:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/ehr-provider-wfcallback:latest
ports: ports:
- "8081:8081" - "5080:5080"
networks: networks:
- agent_network - agent_network
environment:
SPRING_CLOUD_NACOS_DISCOVERY_IP: 172.16.240.110
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1
......
server: server:
port: 8081 port: 5080
\ No newline at end of file \ No newline at end of file
...@@ -3,7 +3,7 @@ spring: ...@@ -3,7 +3,7 @@ spring:
cloud: cloud:
nacos: nacos:
discovery: discovery:
server-addr: 172.16.102.211:8848 server-addr: 172.16.240.110:8848
cache: cache:
redis: redis:
time-to-live: 3600 time-to-live: 3600
...@@ -20,6 +20,32 @@ spring: ...@@ -20,6 +20,32 @@ spring:
max-wait: 300ms max-wait: 300ms
max-idle: 16 max-idle: 16
min-idle: 8 min-idle: 8
datasource:
username: BPMEHR
password: 'sys'
url: jdbc:oracle:thin:@172.16.170.71:1521:localorcl
driver-class-name: oracle.jdbc.driver.OracleDriver
filters: stat,wall,log4j2
#配置初始化大小/最小/最大
initial-size: 1
min-idle: 1
max-active: 20
#获取连接等待超时时间
max-wait: 60000
#间隔多久进行一次检测,检测需要关闭的空闲连接
time-between-eviction-runs-millis: 60000
#一个连接在池中最小生存的时间
min-evictable-idle-time-millis: 300000
validation-query: SELECT 1 FROM DUAL
test-while-idle: true
test-on-borrow: false
test-on-return: false
#打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
pool-prepared-statements: false
max-pool-prepared-statement-per-connection-size: 20
isSyncDBSchema: false
defaultSchema: BPMEHR
conf: classpath:liquibase/master.xml
#Mybatis-plus配置 #Mybatis-plus配置
mybatis-plus: mybatis-plus:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册