|
@@ -9,7 +9,7 @@ services:
|
|
|
- ../../../../:/var/www/html
|
|
|
- ../conf/etc/localtime:/etc/localtime:ro
|
|
|
- ../conf/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
|
- - /d/phpstudy_pro/WWW/xyzshop/data/upload:/var/www/html/data/upload
|
|
|
+ - ../../../../data/upload:/var/www/html/data/upload
|
|
|
container_name: "panda-nginx"
|
|
|
command: [nginx,'-g','daemon off;']
|
|
|
|
|
@@ -22,8 +22,8 @@ services:
|
|
|
- ../conf/etc/localtime:/etc/localtime:ro
|
|
|
- ../conf/php/php-local-debug.ini:/usr/local/etc/php/php.ini
|
|
|
- ../conf/php/mch-spwan-start:/usr/local/bin/docker-spwan-start
|
|
|
- - /d/phpstudy_pro/WWW/xyzshop/data/upload:/var/www/html/data/upload
|
|
|
- - /d/phpstudy_pro/WWW/xyzshop/data/upload/log:/var/www/html/data/log
|
|
|
+ - ../../../../data/upload:/var/www/html/data/upload
|
|
|
+ - ../../../../data/log:/var/www/html/data/log
|
|
|
container_name: "panda-merchant"
|
|
|
command: [docker-spwan-start]
|
|
|
deploy:
|
|
@@ -38,8 +38,8 @@ services:
|
|
|
- ../conf/etc/localtime:/etc/localtime:ro
|
|
|
- ../conf/php/php.ini:/usr/local/etc/php/php.ini
|
|
|
- ../conf/php-fpm/php-fpm.conf:/usr/local/etc/php-fpm.conf
|
|
|
- - /d/phpstudy_pro/WWW/xyzshop/data/upload:/var/www/html/data/upload
|
|
|
- - /d/phpstudy_pro/WWW/xyzshop/data/upload/log:/var/www/html/data/log
|
|
|
+ - ../../../../data/upload:/var/www/html/data/upload
|
|
|
+ - ../../../../data/log:/var/www/html/data/log
|
|
|
container_name: "panda-web"
|
|
|
command: [php-fpm]
|
|
|
|
|
@@ -52,4 +52,37 @@ services:
|
|
|
- /d/phpstudy_pro/WWW/xyzshop/docker/conf/redis/6379.conf:/etc/redis/redis.conf
|
|
|
- /d/phpstudy_pro/WWW/xyzshop/docker/conf/redis:/var/redis
|
|
|
container_name: "panda-redis"
|
|
|
- command: [ redis-server,"/etc/redis/redis.conf" ]
|
|
|
+ command: [ redis-server,"/etc/redis/redis.conf" ]
|
|
|
+
|
|
|
+ accedit:
|
|
|
+ image: php-zts-debug:7.3.18
|
|
|
+ volumes:
|
|
|
+ - ../../../../:/var/www/html
|
|
|
+ - ../conf/etc/localtime:/etc/localtime:ro
|
|
|
+ - ../../../../data/log:/var/www/html/data/log
|
|
|
+ - ../conf/php/php-debug.ini:/usr/local/etc/php/php.ini
|
|
|
+ - ../../../../data/upload:/var/www/html/data/upload
|
|
|
+ container_name: "panda-accedit"
|
|
|
+ command: [ php,"/var/www/html/crontab/index.php",'minutes','account_edit' ]
|
|
|
+
|
|
|
+ crontask:
|
|
|
+ image: php-zts-debug:7.3.18
|
|
|
+ volumes:
|
|
|
+ - ../../../../:/var/www/html
|
|
|
+ - ../conf/etc/localtime:/etc/localtime:ro
|
|
|
+ - ../../../../data/log:/var/www/html/data/log
|
|
|
+ - ../conf/php/php-debug.ini:/usr/local/etc/php/php.ini
|
|
|
+ - ../../../../data/upload:/var/www/html/data/upload
|
|
|
+ container_name: "panda-task"
|
|
|
+ command: [ php,"/var/www/html/crontab/index.php",'minutes','task' ]
|
|
|
+
|
|
|
+ token_refresh:
|
|
|
+ image: php-zts-debug:7.3.18
|
|
|
+ volumes:
|
|
|
+ - ../../../../:/var/www/html
|
|
|
+ - ../conf/etc/localtime:/etc/localtime:ro
|
|
|
+ - ../conf/php/php-local-debug.ini:/usr/local/etc/php/php.ini
|
|
|
+ - ../../../../data/upload:/var/www/html/data/upload
|
|
|
+ - ../../../../data/log:/var/www/html/data/log
|
|
|
+ container_name: "panda-token-refresh"
|
|
|
+ command: [ php,"/var/www/html/crontab/index.php",'vendor','token_refresh' ]
|