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

ibizdev提交

上级 a7fbd06b
......@@ -37,6 +37,11 @@
git clone -b master $para2 ibzdict/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzdict/
mvn clean package -Papi
cd ibzdict-provider/ibzdict-provider-api
mvn -Papi docker:build
mvn -Papi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzdict-provider-api.yaml ibzlab-rt --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
......@@ -8,7 +8,7 @@
{
"appid":"web",
"appname":"gateway",
"appname":"字典",
"appmenu":[{"menuid":"AppIndexView", "menuname":"AppIndexView", "menuitem":[{"id":"A0C481D9-C202-4856-822C-8BA28C83A47B" , "name":"menuitem1" , "text":"数据字典" }] }]
}
]
......
......@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzdict-provider-api.jar
EXPOSE 8081
EXPOSE 40004
ADD ibzdict-provider-api.jar /ibzdict-provider-api.jar
......@@ -3,9 +3,11 @@ services:
ibzdict-provider-api:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/ibzdict-provider-api:latest
ports:
- "8081:8081"
- "40004:40004"
networks:
- agent_network
environment:
SPRING_CLOUD_NACOS_DISCOVERY_IP: 172.16.180.237
deploy:
mode: replicated
replicas: 1
......
server:
port: 8081
\ No newline at end of file
port: 40004
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册