|
@@ -16,9 +16,8 @@ services:
|
|
|
command: [nginx,'-g','daemon off;']
|
|
|
extra_hosts:
|
|
|
- "docker.hostip:172.17.0.1"
|
|
|
-
|
|
|
-# networks:
|
|
|
-# - net_gxshop
|
|
|
+ networks:
|
|
|
+ - net_gxshop
|
|
|
|
|
|
gxmch:
|
|
|
image: php-zts:7.3.18
|
|
@@ -32,8 +31,8 @@ services:
|
|
|
container_name: "gx-merchant"
|
|
|
extra_hosts:
|
|
|
- "docker.hostip:172.17.0.1"
|
|
|
-# networks:
|
|
|
-# - net_gxshop
|
|
|
+ networks:
|
|
|
+ - net_gxshop
|
|
|
|
|
|
gxweb:
|
|
|
image: php-fpm:alpine
|
|
@@ -50,11 +49,9 @@ services:
|
|
|
command: [php-fpm]
|
|
|
extra_hosts:
|
|
|
- "docker.hostip:172.17.0.1"
|
|
|
+ networks:
|
|
|
+ - net_gxshop
|
|
|
|
|
|
-
|
|
|
-# networks:
|
|
|
-# - net_gxshop
|
|
|
-
|
|
|
-#networks:
|
|
|
-# net_gxshop:
|
|
|
-# external: true
|
|
|
+networks:
|
|
|
+ net_gxshop:
|
|
|
+ external: true
|