From ab9af55400ea880c9d1c55b1b58f5792b8859599 Mon Sep 17 00:00:00 2001 From: linwl <304115325@qq.com> Date: Wed, 24 Feb 2021 16:49:26 +0800 Subject: [PATCH] =?UTF-8?q?service=E5=90=8D=E7=A7=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- push_service_run.sh => iotgateway_service_run.sh | 0 pom.xml | 2 +- setup_dev.sh | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename push_service_run.sh => iotgateway_service_run.sh (100%) diff --git a/push_service_run.sh b/iotgateway_service_run.sh similarity index 100% rename from push_service_run.sh rename to iotgateway_service_run.sh diff --git a/pom.xml b/pom.xml index 43f7a2d..5e0e075 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.telpo iotgatewayservice 1.0-SNAPSHOT - data-iot-gateway-server + iot-gateway-server 数据推送服务 jar diff --git a/setup_dev.sh b/setup_dev.sh index b084149..63deb2a 100644 --- a/setup_dev.sh +++ b/setup_dev.sh @@ -8,7 +8,7 @@ docker rm iot_gateway_service || true # 删除镜像 docker rmi -f $(docker images | grep telpo/iot_gateway_service | awk '{print $3}') -docker build . -t telpo/push_service:$image_version +docker build . -t telpo/iot_gateway_service:$image_version #TODO:推送镜像到私有仓库 echo '=================开始推送镜像=======================' @@ -23,4 +23,4 @@ docker images # 启动容器 docker run -v /home/data/iotgatewayserver/log:/var/log/iotgatewayserver -d -e active=dev --network host --restart=always --name iot_gateway_service telpo/iot_gateway_service:$image_version # 查看日志 -docker logs push_service +docker logs iot_gateway_service