瀏覽代碼

修改到docker外运行环境

tags/v1.0.0^2
林万龙 3 年之前
父節點
當前提交
b7582d7201
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      setup_dev.sh

+ 2
- 2
setup_dev.sh 查看文件

@@ -4,7 +4,7 @@ mvn package -Dmaven.test.skip=true
#image_version=$(date +%Y%m%d%H%M)
image_version=$version

docker cp docker_jenkins:/var/jenkins_home/workspace/dipperpos_service/target/dipperposition.jar /home/data/dipperposition/dipperposition.jar
docker cp docker_jenkins:/var/jenkins_home/workspace/dipperpos_service/target/dipperposition.jar /usr/local/dipperposition/dipperposition.jar
#docker stop dipperposition_service || true
#docker rm dipperposition_service || true

@@ -60,5 +60,5 @@ docker cp docker_jenkins:/var/jenkins_home/workspace/dipperpos_service/target/di

echo '=================启动NettyAPP======================='
ps -ef |grep dipperposition |awk '{print $2}'|xargs kill -9
java -jar -Xms256m -Xmx256m -Xss256k -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m /home/data/dipperposition/dipperposition.jar
java -jar -Xms256m -Xmx256m -Xss256k -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m /usr/local/dipperposition/dipperposition.jar
echo '=================完成NettyAPP启动======================='

Loading…
取消
儲存