version: "3"
services:
web:
image: deb-nginx.loc
ports:
- "8888:80"
volumes:
- .:/app
- ./docker/nginx/conf/newblog.loc:/etc/nginx/sites-enabled/newblog.loc
links:
- php
php:
image: php.loc
volumes:
- .:/app
ports:
- "9000:9000"