stanley-king 1 年之前
父节点
当前提交
75bae45ba5
共有 1 个文件被更改,包括 1 次插入18 次删除
  1. 1 18
      docker/compose/gx/gx-admin/docker-compose.yml

+ 1 - 18
docker/compose/gx/gx-admin/docker-compose.yml

@@ -13,12 +13,6 @@ services:
 #      - /nfs/gxmerchant:/var/www/html/merchant
     container_name: "gx-nginx"
     command: [nginx,'-g','daemon off;']
-    extra_hosts:
-      - "docker.hostip:172.17.0.1"
-    deploy:
-      resources:
-        limits:
-          cpus: '8'
 
   mchsrv:
     image: php-zts:7.3.18
@@ -30,11 +24,6 @@ services:
       - /nfs/gxupload:/var/www/html/data/upload
       - /mnt/gxlog:/var/www/html/data/log
     container_name: "gx-merchant"
-    command: [docker-spwan-start]
-    deploy:
-      resources:
-        limits:
-          cpus: '4'
 
   websrv:
     image: php-fpm:alpine
@@ -46,10 +35,4 @@ services:
       - /nfs/gxupload:/var/www/html/data/upload
       - /mnt/gxlog:/var/www/html/data/log
     container_name: "gx-web"
-    command: [php-fpm]
-    extra_hosts:
-      - "docker.hostip:172.17.0.1"
-    deploy:
-      resources:
-        limits:
-          cpus: '8'
+    command: [php-fpm]