123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- version: "3.7"
- services:
- nginxsrv:
- image: nginx:alpine
- ports:
- - "80:80"
- volumes:
- - ../../../:/var/www/html
- - ../../conf/etc/localtime:/etc/localtime:ro
- - /Volumes/Transcend/upload:/var/www/html/data/upload
- - /Users/stanley-king/work/WebProject/wapshop/dist:/var/www/html/mshop
- - ../../conf/nginx/cert:/etc/nginx/cert
- - ../../conf/nginx/nginx-stanley-http.conf:/etc/nginx/nginx.conf:ro
- container_name: "panda-nginx"
- command: [nginx,'-g','daemon off;']
- redisrv:
- image: redis:alpine
- ports:
- - "6379:6379"
- volumes:
- - ../../conf/etc/localtime:/etc/localtime:ro
- - ../../conf/redis/6379.conf:/etc/redis/redis.conf
- - ../../conf/redis:/var/redis
- container_name: "panda-redis"
- command: [redis-server,"/etc/redis/redis.conf"]
- mobilesrv:
- image: php-zts-debug:7.3.18
- ports:
- - "9100:9100"
- volumes:
- - ../../conf/etc/localtime:/etc/localtime:ro
- - ../../../:/var/www/html
- - ../../conf/php/php-local-debug.ini:/usr/local/etc/php/php.ini
- - /Volumes/Transcend/upload:/var/www/html/data/upload
- - ../../conf/php/mobile-spwan-start:/usr/local/bin/docker-spwan-start
- links:
- - redisrv
- container_name: "panda-mobile"
- command: [docker-spwan-start]
- depends_on:
- - "redisrv"
- - "searcher"
- raccsrv:
- image: php-zts-debug:7.3.18
- ports:
- - "9101:9101"
- volumes:
- - ../../conf/etc/localtime:/etc/localtime:ro
- - ../../../:/var/www/html
- - ../../conf/php/php-local-debug.ini:/usr/local/etc/php/php.ini
- - /Volumes/Transcend/upload:/var/www/html/data/upload
- - ../../conf/php/racc-spwan-start:/usr/local/bin/docker-spwan-start
- links:
- - redisrv
- container_name: "panda-racc"
- command: [docker-spwan-start]
- depends_on:
- - "redisrv"
- rdsrv:
- image: php-swool:latest
- volumes:
- - ../../conf/etc/localtime:/etc/localtime:ro
- - ../../../:/var/www/html
- - /Volumes/Transcend/upload:/var/www/html/data/upload
- - ../../conf/php/php-swoole-debug.ini:/usr/local/etc/php/php.ini
- links:
- - redisrv
- container_name: "panda-dispatcher"
- command: [php,"/var/www/html/rdispatcher/dispatcher.php","1"]
- depends_on:
- - "redisrv"
- websrv:
- image: php-fpm:alpine
- ports:
- - "9000:9000"
- volumes:
- - ../../conf/etc/localtime:/etc/localtime:ro
- - ../../../:/var/www/html
- - /Volumes/Transcend/upload:/var/www/html/data/upload
- - ../../conf/php-fpm/php-local-debug.ini:/usr/local/etc/php/php.ini
- - ../../conf/php-fpm/php-fpm.conf:/usr/local/etc/php-fpm.conf
- container_name: "panda-web"
- command: [php-fpm]
- depends_on:
- - "redisrv"
- - "searcher"
- queuesrv:
- image: php-zts-debug:7.3.18
- volumes:
- - ../../conf/etc/localtime:/etc/localtime:ro
- - ../../../:/var/www/html
- - /Volumes/Transcend/upload:/var/www/html/data/upload
- - ../../conf/php/php-local-debug.ini:/usr/local/etc/php/php.ini
- links:
- - redisrv
- container_name: "panda-queue"
- command: [php,"/var/www/html/queue/index.php", "queue", "index"]
- depends_on:
- - "redisrv"
- wsdsrv:
- image: php-zts-debug:7.3.18
- ports:
- - "60987:60987"
- volumes:
- - ../../conf/etc/localtime:/etc/localtime:ro
- - ../../../:/var/www/html
- - /Volumes/Transcend/upload:/var/www/html/data/upload
- - ../../conf/php/php-local-debug.ini:/usr/local/etc/php/php.ini
- container_name: "panda-wsd"
- command: [php,"/var/www/html/wsd_bridge.php"]
- searcher:
- image: php-zts-debug:7.3.18
- volumes:
- - ../../conf/etc/localtime:/etc/localtime:ro
- - ../../../:/var/www/html
- - /Volumes/Transcend/upload:/var/www/html/data/upload
- - ../../conf/php/php-local-debug.ini:/usr/local/etc/php/php.ini
- container_name: "panda-searcher"
- command: [php, "/var/www/html/searcher.php"]
- depends_on:
- - "redisrv"
- crontabsrv:
- image: php-zts-debug:7.3.18
- volumes:
- - ../../conf/etc/localtime:/etc/localtime:ro
- - ../../../:/var/www/html
- - /Volumes/Transcend/upload:/var/www/html/data/upload
- - ../../conf/php/php-local-debug.ini:/usr/local/etc/php/php.ini
- - ../../conf/crontab/debug-root:/var/spool/cron/crontabs/root
- container_name: "panda-crontab"
- command: [crond,"-f"]
- depends_on:
- - "redisrv"
- phpcli:
- image: php-swool:latest
- volumes:
- - ../../conf/etc/localtime:/etc/localtime:ro
- - ../../conf/php/php-debug.ini:/usr/local/etc/php/php.ini
- - ../../../:/var/www/html
- - /Volumes/Transcend/upload:/var/www/html/data/upload
- container_name: "panda-php"
- depends_on:
- - "redisrv"
- - "websrv"
- - "searcher"
|