Create docker-compose.yaml
This commit is contained in:
15
docker-compose.yaml
Normal file
15
docker-compose.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
apache-php:
|
||||
image: php:8.3-apache
|
||||
container_name: apache-php
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- ./html:/var/www/html
|
||||
environment:
|
||||
- APACHE_DOCUMENT_ROOT=/var/www/html
|
||||
build:
|
||||
context: .
|
||||
dockerfile: dockerfile
|
||||
Reference in New Issue
Block a user