123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- version: "3.7"
- services:
- devrnginx:
- image: nginx:alpine
- ports:
- - "8088:8088"
- volumes:
- - $PWD/conf/etc/localtime:/etc/localtime:ro
- - $PWD/conf/nginx/nginx-debug-http.conf:/etc/nginx/nginx.conf:ro
- - $PWD:/var/www/html
- links:
- - devrfpm
- container_name: "devr-nginx"
- command: [nginx,'-g','daemon off;']
- devrfpm:
- image: php-fpm:alpine
- volumes:
- - $PWD/conf/etc/localtime:/etc/localtime:ro
- - $PWD:/var/www/html
- - $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/docker-php-fpm-start:/usr/local/bin/docker-php-fpm-start
- container_name: "devr-web"
- command: [docker-php-fpm-start]
- depends_on:
- - devrredis
- devrphp:
- image: php-zts-debug:7.3.18
- volumes:
- - $PWD/conf/etc/localtime:/etc/localtime:ro
- - $PWD/conf/php/php-debug.ini:/usr/local/etc/php/php.ini
- - $PWD:/var/www/html
- links:
- - devrredis
- container_name: "devr-php"
- devrredis:
- image: redis:alpine
- volumes:
- - $PWD/conf/etc/localtime:/etc/localtime:ro
- container_name: "devr-redis"
- command: [ "redis-server"]
|