stanley-king 1 rok temu
rodzic
commit
5aaab65e24
1 zmienionych plików z 8 dodań i 8 usunięć
  1. 8 8
      docker/compose/mh/mh-admin/docker-compose.yml

+ 8 - 8
docker/compose/mh/mh-admin/docker-compose.yml

@@ -4,7 +4,7 @@ services:
   nginx:
     image: nginx:alpine
     ports:
-      - "8180:80"
+      - "80:80"
     volumes:
       - ../../../../:/var/www/html
       - ../conf/etc/localtime:/etc/localtime:ro
@@ -12,12 +12,12 @@ services:
       - /nfs/mhupload:/var/www/html/data/upload
       - /mnt/mhlog:/var/nginxlog
       # - /nfs/mhmerchant:/var/www/html/merchant
-    container_name: "gx-nginx"
+    container_name: "mh-nginx"
     command: [nginx,'-g','daemon off;']
     extra_hosts:
       - "docker.hostip:172.17.0.1"
     networks:
-      - net_gxshop
+      - net_mhshop
 
   mch:
     image: php-zts:7.3.18
@@ -28,12 +28,12 @@ services:
       - ../conf/php/mch-spwan-start:/usr/local/bin/docker-spwan-start
       - /nfs/mhupload:/var/www/html/data/upload
       - /mnt/mhlog:/var/www/html/data/log
-    container_name: "gx-merchant"
+    container_name: "mh-merchant"
     command: [docker-spwan-start]
     extra_hosts:
       - "docker.hostip:172.17.0.1"
     networks:
-      - net_gxshop
+      - net_mhshop
 
   web:
     image: php-fpm:alpine
@@ -44,13 +44,13 @@ services:
       - ../conf/php-fpm/php-fpm.conf:/usr/local/etc/php-fpm.conf
       - /nfs/mhupload:/var/www/html/data/upload
       - /mnt/mhlog:/var/www/html/data/log
-    container_name: "gx-web"
+    container_name: "mh-web"
     command: [php-fpm]
     extra_hosts:
       - "docker.hostip:172.17.0.1"
     networks:
-      - net_gxshop
+      - net_mhshop
 
 networks:
-  net_gxshop:
+  net_mhshop:
     external: true