1234567891011121314151617181920212223242526272829 |
- version: "3.5"
- services:
- nginx:
- build: ./nginx/
- ports:
- - 81:80
- volumes:
- - "${PROJECT_ROOT}:/var/www/html"
- - "${LOG_ROOT}:/var/log:rw"
- networks:
- - server
- depends_on:
- - php
- php:
- build: ./php/
- expose:
- - 9000
- volumes:
- - "${PROJECT_ROOT}:/var/www/html"
- networks:
- # - database
- - server
- # depends_on:
- # - mysql
- networks:
- server:
|