Browse Source

add nginx depend_on

liwei 2 năm trước cách đây
mục cha
commit
bb74091cbc
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      docker-compose.yaml

+ 6 - 0
docker-compose.yaml

@@ -17,6 +17,12 @@ services:
       - ./nginx/conf.d:/etc/nginx/conf.d
       - ./nginx/www:/usr/share/nginx/html
 
+    depends_on:
+      - 3dshow-customer
+      - 3dshow-supplier
+      - 3dshow-supply-user
+      - 3dshow-customer-user
+      
   #bus消息中间件
   3dshow-bus:
     restart: always