14 lines
282 B
YAML
14 lines
282 B
YAML
services:
|
|
web:
|
|
image: nginx:alpine
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./conf/nginx.conf:/etc/nginx/nginx.conf
|
|
- ./:/var/www/html:ro
|
|
ports:
|
|
- '80:80'
|
|
php:
|
|
image: php:8-fpm
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./:/var/www/html:ro
|