Ver código fonte

service名称修改

master
林万龙 3 anos atrás
pai
commit
ab9af55400
3 arquivos alterados com 3 adições e 3 exclusões
  1. +0
    -0
      iotgateway_service_run.sh
  2. +1
    -1
      pom.xml
  3. +2
    -2
      setup_dev.sh

push_service_run.sh → iotgateway_service_run.sh Ver arquivo


+ 1
- 1
pom.xml Ver arquivo

@@ -6,7 +6,7 @@
<groupId>com.telpo</groupId>
<artifactId>iotgatewayservice</artifactId>
<version>1.0-SNAPSHOT</version>
<name>data-iot-gateway-server</name>
<name>iot-gateway-server</name>
<description>数据推送服务</description>
<packaging>jar</packaging>
<properties>


+ 2
- 2
setup_dev.sh Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar