Browse Source

修正report服务部署脚本

test
smallchill 4 years ago
parent
commit
b3b0d6279a
  1. 2
      blade-ops/blade-report/Dockerfile
  2. 4
      script/docker/app/deploy.sh
  3. 2
      script/docker/app/nginx/api/nginx.conf

2
blade-ops/blade-report/Dockerfile

@ -10,7 +10,7 @@ RUN mkdir -p /blade/report
WORKDIR /blade/report
EXPOSE 7003
EXPOSE 8108
ADD ./target/blade-report.jar ./app.jar

4
script/docker/app/deploy.sh

@ -26,8 +26,10 @@ port(){
firewall-cmd --add-port=3379/tcp --permanent
#admin
firewall-cmd --add-port=7002/tcp --permanent
#ureport
#turbine
firewall-cmd --add-port=7003/tcp --permanent
#ureport
firewall-cmd --add-port=8108/tcp --permanent
#zipkin
firewall-cmd --add-port=9411/tcp --permanent
#prometheus

2
script/docker/app/nginx/api/nginx.conf

@ -41,7 +41,7 @@ http {
}
upstream report {
server 172.30.0.98:8018;
server 172.30.0.98:8108;
}
server {

Loading…
Cancel
Save