services:
web:
image: debian.loc
volumes:
- .:/app
links:
- php
php:
image: php:7.3-fpm
volumes:
- .:/app
ports:
- "9000:9000"
FROM debian:9.3
RUN apt-get install nginx-full
docker-compose exec php bash