From 20f848bcecc884892dbd3a604879f597cf2681f5 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Fri, 6 Nov 2020 13:02:05 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=93=E5=8C=85?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- pom.xml | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/README.md b/README.md index df155003..80ce77a7 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ WEB VIDEO PLATFORM是一个基于GB28181-2016标准实现的网络视频平台 7. 支持通道子目录查询; 8. 支持udp/tcp国标流传输模式; 9. 支持直接输出RTSP、RTMP、HTTP-FLV、Websocket-FLV、HLS多种协议流地址 -10. 支持国标网络校时 +10. 支持国标网络校时 # 待实现: 上级级联 diff --git a/pom.xml b/pom.xml index 3c4edf18..3a805e78 100644 --- a/pom.xml +++ b/pom.xml @@ -163,7 +163,6 @@ - org.springframework.boot spring-boot-maven-plugin @@ -177,16 +176,6 @@ 1.8 1.8 - - - ${project.basedir}/libs - WEB-INF/lib - true - - **/*.jar - - - @@ -194,7 +183,6 @@ org.apache.maven.plugins maven-surefire-plugin - From 8b07bc15f04f1447af7821ef3b60f247f1595261 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Fri, 6 Nov 2020 13:34:25 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=93=E5=8C=85?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 3a805e78..a8cf1479 100644 --- a/pom.xml +++ b/pom.xml @@ -123,8 +123,8 @@ javax.sip jain-sip-ri 1.3.0-92 - + system + ${project.basedir}/libs/jain-sip-ri-1.3.0-92.jar org.dom4j From b6358d1036cf7e71549d2ce6a261d5217eddcf14 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Fri, 6 Nov 2020 20:07:37 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0docker=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOCKERFILE | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 DOCKERFILE diff --git a/DOCKERFILE b/DOCKERFILE new file mode 100644 index 00000000..cc86e274 --- /dev/null +++ b/DOCKERFILE @@ -0,0 +1,32 @@ +FROM ubuntu:19.10 + +EXPOSE 18080/tcp +EXPOSE 5060/tcp + +# 使用了自己的settings.xml作为maven的源,加快打包速度 +RUN apt-get update && \ + apt-get install -y --no-install-recommends openjdk-11-jre git maven nodejs npm && \ + cd /home && \ + git clone https://github.com/648540858/wiki.git && \ + cp wiki/config/settings.xml /usr/share/maven/conf/ && \ + git clone https://github.com/648540858/wvp-GB28181.git && \ + cd /home/wvp-GB28181/web_src && \ + npm install npm -g && \ + npm install nrm -g && \ + nrm use taobao && \ + npm install && \ + npm run build && \ + mkdir -p /opt/wvp/config && \ + cd /home/wvp-GB28181 && \ + mvn compile && \ + mvn package && \ + cp /home/wvp-GB28181/target/wvp-1.5.10.RELEASE.jar /opt/wvp/ && \ + rm -rf /home/wiki && \ + rm -rf /home/wvp-GB28181 && \ + apt-get autoremove -y git maven nodejs npm && \ + apt-get clean -y && \ + rm -rf /var/lib/apt/lists/*dic + +WORKDIR /opt/wvp + +CMD java -jar wvp-1.5.10.RELEASE.jar --spring.config.location=/opt/wvp/config/application.yml \ No newline at end of file