blog.hugopoi.net/docker-compose.yml

18 lines
337 B
YAML

version: "3"
services:
web:
image: nginx:latest
ports:
- "8080:80"
volumes:
- ./www:/var/www/html
- ./docker-nginx-conf/default.conf:/etc/nginx/conf.d/default.conf
php-fpm:
image: php:development
build:
context: .
dockerfile: php.Dockerfile
volumes:
- ./www:/var/www/html