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