|
@@ -43,3 +43,27 @@ services:
|
|
|
- $PWD/conf/etc/localtime:/etc/localtime:ro
|
|
|
container_name: "acc-redis"
|
|
|
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]
|
|
|
+ extra_hosts:
|
|
|
+ - "docker.hostip:172.18.0.1"
|
|
|
+ - "eth.hostip:172.17.153.106"
|
|
|
+
|
|
|
+ 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]
|