123456789101112131415161718192021222324252627282930 |
- version: "3.5"
- services:
- php:
- build: ./Docker/php/
- expose:
- - 9000
- volumes:
- - php-root-data:/root
- - "${PROJECT_ROOT}:/var/www/html"
- networks:
- - server
- nginx:
- build: ./Docker/nginx/
- ports:
- - 8880:80
- volumes:
- - "${PROJECT_ROOT}:/var/www/html"
- - "${LOG_ROOT}:/var/log:rw"
- networks:
- - server
- depends_on:
- - php
- volumes:
- php-root-data:
- networks:
- server:
|