blog.hugopoi.net/docker-compose.yml

15 lines
270 B
YAML
Raw Normal View History

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:8-fpm
volumes:
- ./www:/var/www/html