Browse Source

更新脚本的nacos挂载文件地址

training
smallchill 1 year ago
parent
commit
7dd07ee728
  1. 6
      script/docker/app/deploy.sh

6
script/docker/app/deploy.sh

@ -50,9 +50,9 @@ mount(){
cp nginx/web/nginx.conf /docker/nginx/web/nginx.conf cp nginx/web/nginx.conf /docker/nginx/web/nginx.conf
cp -r nginx/web/html /docker/nginx/web/html cp -r nginx/web/html /docker/nginx/web/html
fi fi
if test ! -f "/docker/nacos/init.d/custom.properties" ;then if test ! -f "/docker/nacos/conf/application.properties" ;then
mkdir -p /docker/nacos/init.d mkdir -p /docker/nacos/conf
cp nacos/init.d/custom.properties /docker/nacos/init.d/custom.properties cp nacos/conf/application.properties /docker/nacos/conf/application.properties
fi fi
if test ! -f "/docker/prometheus/prometheus.yml" ;then if test ! -f "/docker/prometheus/prometheus.yml" ;then
mkdir -p /docker/prometheus mkdir -p /docker/prometheus

Loading…
Cancel
Save