From e3cb4619132dca2f614c63adae26b03bf5a572fd Mon Sep 17 00:00:00 2001 From: axzsd Date: Fri, 20 Oct 2023 11:11:37 +0800 Subject: [PATCH] add: road --- builds/Dockerfile-roadbed | 2 +- builds/deploy-roadbed.yml | 6 +++--- src/main/resources/application-road.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/builds/Dockerfile-roadbed b/builds/Dockerfile-roadbed index f9a3141..6e99214 100644 --- a/builds/Dockerfile-roadbed +++ b/builds/Dockerfile-roadbed @@ -15,5 +15,5 @@ ENV JAVA_OPTIONS "-Xms512m -Xmx1024m \ -Dsun.net.client.defaultReadTimeout=30000" -EXPOSE 80 +EXPOSE 80 5061 ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTIONS -Dspring.profiles.active=${SPRING_PROFILES_ACTIVE} app.jar"] diff --git a/builds/deploy-roadbed.yml b/builds/deploy-roadbed.yml index 4745ee2..1c24357 100644 --- a/builds/deploy-roadbed.yml +++ b/builds/deploy-roadbed.yml @@ -29,7 +29,7 @@ spec: containerPort: 80 protocol: TCP - name: sip - containerPort: 5060 + containerPort: 5061 env: - name: TZ value: Asia/Shanghai @@ -78,7 +78,7 @@ spec: targetPort: web protocol: TCP - name: sip - port: 5060 + port: 5061 targetPort: sip protocol: TCP - nodePort: 5060 \ No newline at end of file + nodePort: 5061 \ No newline at end of file diff --git a/src/main/resources/application-road.yml b/src/main/resources/application-road.yml index ee76775..e07daee 100644 --- a/src/main/resources/application-road.yml +++ b/src/main/resources/application-road.yml @@ -28,7 +28,7 @@ server: sip: # ip: 10.200.64.63 ip: 113.141.178.17 - port: 5060 + port: 5061 # 根据国标6.1.2中规定,domain宜采用ID统一编码的前十位编码。国标附录D中定义前8位为中心编码(由省级、市级、区级、基层编号组成,参照GB/T 2260-2007) # 后两位为行业编码,定义参照附录D.3 # 3701020049标识山东济南历下区 信息行业接入