|
@@ -1,7 +1,7 @@
|
|
version: "3.7"
|
|
version: "3.7"
|
|
|
|
|
|
services:
|
|
services:
|
|
- devrnginx:
|
|
|
|
|
|
+ accnginx:
|
|
image: nginx:alpine
|
|
image: nginx:alpine
|
|
ports:
|
|
ports:
|
|
- "8088:8088"
|
|
- "8088:8088"
|
|
@@ -10,11 +10,11 @@ services:
|
|
- $PWD/conf/nginx/nginx-debug-http.conf:/etc/nginx/nginx.conf:ro
|
|
- $PWD/conf/nginx/nginx-debug-http.conf:/etc/nginx/nginx.conf:ro
|
|
- $PWD:/var/www/html
|
|
- $PWD:/var/www/html
|
|
links:
|
|
links:
|
|
- - devrfpm
|
|
|
|
- container_name: "devr-nginx"
|
|
|
|
|
|
+ - accfpm
|
|
|
|
+ container_name: "acc-nginx"
|
|
command: [nginx,'-g','daemon off;']
|
|
command: [nginx,'-g','daemon off;']
|
|
|
|
|
|
- devrfpm:
|
|
|
|
|
|
+ accfpm:
|
|
image: php-fpm:alpine
|
|
image: php-fpm:alpine
|
|
volumes:
|
|
volumes:
|
|
- $PWD/conf/etc/localtime:/etc/localtime:ro
|
|
- $PWD/conf/etc/localtime:/etc/localtime:ro
|
|
@@ -22,24 +22,45 @@ services:
|
|
- $PWD/conf/php-fpm/php-debug.ini:/usr/local/etc/php/php.ini
|
|
- $PWD/conf/php-fpm/php-debug.ini:/usr/local/etc/php/php.ini
|
|
- $PWD/conf/php-fpm/php-fpm.conf:/usr/local/etc/php-fpm.conf
|
|
- $PWD/conf/php-fpm/php-fpm.conf:/usr/local/etc/php-fpm.conf
|
|
- $PWD/conf/php-fpm/docker-php-fpm-start:/usr/local/bin/docker-php-fpm-start
|
|
- $PWD/conf/php-fpm/docker-php-fpm-start:/usr/local/bin/docker-php-fpm-start
|
|
- container_name: "devr-web"
|
|
|
|
|
|
+ container_name: "acc-web"
|
|
command: [docker-php-fpm-start]
|
|
command: [docker-php-fpm-start]
|
|
depends_on:
|
|
depends_on:
|
|
- - devrredis
|
|
|
|
|
|
+ - accredis
|
|
|
|
|
|
- devrphp:
|
|
|
|
|
|
+ accphp:
|
|
image: php-zts-debug:7.3.18
|
|
image: php-zts-debug:7.3.18
|
|
volumes:
|
|
volumes:
|
|
- $PWD/conf/etc/localtime:/etc/localtime:ro
|
|
- $PWD/conf/etc/localtime:/etc/localtime:ro
|
|
- $PWD/conf/php/php-debug.ini:/usr/local/etc/php/php.ini
|
|
- $PWD/conf/php/php-debug.ini:/usr/local/etc/php/php.ini
|
|
- $PWD:/var/www/html
|
|
- $PWD:/var/www/html
|
|
links:
|
|
links:
|
|
- - devrredis
|
|
|
|
- container_name: "devr-php"
|
|
|
|
|
|
+ - accredis
|
|
|
|
+ container_name: "acc-php"
|
|
|
|
|
|
- devrredis:
|
|
|
|
|
|
+ accredis:
|
|
image: redis:alpine
|
|
image: redis:alpine
|
|
volumes:
|
|
volumes:
|
|
- $PWD/conf/etc/localtime:/etc/localtime:ro
|
|
- $PWD/conf/etc/localtime:/etc/localtime:ro
|
|
- container_name: "devr-redis"
|
|
|
|
|
|
+ container_name: "acc-redis"
|
|
command: [ "redis-server"]
|
|
command: [ "redis-server"]
|
|
|
|
+
|
|
|
|
+ accqueue:
|
|
|
|
+ image: php-zts-debug:7.3.18
|
|
|
|
+ volumes:
|
|
|
|
+ - $PWD/conf/etc/localtime:/etc/localtime:ro
|
|
|
|
+ - $PWD:/var/www/html
|
|
|
|
+ - $PWD/conf/php/php-debug.ini:/usr/local/etc/php/php.ini
|
|
|
|
+ - $PWD/conf/queue/docker-queue-start:/usr/local/bin/docker-queue-start
|
|
|
|
+ container_name: "acc-queue"
|
|
|
|
+ command: [docker-queue-start]
|
|
|
|
+
|
|
|
|
+ acccrontab:
|
|
|
|
+ image: php-zts-debug:7.3.18
|
|
|
|
+ volumes:
|
|
|
|
+ - $PWD/conf/etc/localtime:/etc/localtime:ro
|
|
|
|
+ - $PWD:/var/www/html
|
|
|
|
+ - $PWD/conf/php/php-debug.ini:/usr/local/etc/php/php.ini
|
|
|
|
+ - $PWD/conf/crontab/root:/var/spool/cron/crontabs/root
|
|
|
|
+ - $PWD/conf/crontab/docker-start:/usr/local/bin/docker-start
|
|
|
|
+ container_name: "acc-crontab"
|
|
|
|
+ command: [docker-start]
|