Procházet zdrojové kódy

修改配置文件

郭超 před 4 roky
rodič
revize
dd159c521c

+ 4 - 2
.idea/workspace.xml

@@ -3,7 +3,9 @@
   <component name="ChangeListManager">
     <list default="true" id="41dc853c-f418-44c7-ba5d-2164f3f0373a" name="Default" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/business/docker-compose-multi.yml" beforeDir="false" afterPath="$PROJECT_DIR$/business/docker-compose-multi.yml" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/business/load-images.sh" beforeDir="false" afterPath="$PROJECT_DIR$/business/load-images.sh" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/business/nginx/sites-enabled/default" beforeDir="false" afterPath="$PROJECT_DIR$/business/nginx/sites-enabled/default" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/business/remove-images.sh" beforeDir="false" afterPath="$PROJECT_DIR$/business/remove-images.sh" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
@@ -185,7 +187,7 @@
       <workItem from="1610264520879" duration="862000" />
       <workItem from="1610343907658" duration="548000" />
       <workItem from="1618465186243" duration="1756000" />
-      <workItem from="1622184011904" duration="14296000" />
+      <workItem from="1622184011904" duration="14842000" />
     </task>
     <servers />
   </component>

+ 1 - 0
business/load-images.sh

@@ -2,4 +2,5 @@
 docker load -i ./entity/crowd-service-frontend.tar
 docker load -i ./entity/crowd-service-backend.tar
 docker load -i ./entity/crowd-service-review.tar
+docker load -i ./entity/crowd-service-export.tar
 docker load -i ./entity/crowd-service-mongo.tar

+ 1 - 1
business/nginx/sites-enabled/default

@@ -4,7 +4,7 @@ server {
     server_name	192.168.31.157; #改成对应的HOST
 
     location / {
-        root   /usr/share/nginx/html/;
+        root   /usr/share/nginx/html/prod;
         index  index.html;
         try_files $uri $uri/ /index.html;
     }

+ 1 - 1
business/remove-images.sh

@@ -1 +1 @@
-docker rmi crowd-service-frontend crowd-service-backend crowd-service-review crowd-service-mongo
+docker rmi crowd-service-frontend crowd-service-backend crowd-service-review crowd-service-export crowd-service-mongo