Create docker-compose.yml

This commit is contained in:
Olivier 2024-12-20 15:22:15 +01:00 committed by GitHub
parent 3d767917b7
commit 6bac181fbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

19
docker-compose.yml Normal file
View file

@ -0,0 +1,19 @@
services:
php:
build:
context: .
dockerfile: /docker/Dockerfile
volumes:
- .:/var/www/html
expose:
- "9000"
nginx:
image: nginx:alpine
volumes:
- .:/var/www/html
- ./nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "80:80"
depends_on:
- php