Update docker-compose.yml

This commit is contained in:
2025-06-18 11:08:14 -06:00
committed by GitHub
parent 428a428d5f
commit 7a2a7c71de

View File

@@ -1,15 +1,12 @@
version: '3.8'
services: services:
apache-php: apache-php:
image: php:8.3-apache build:
context: .
dockerfile: Dockerfile
container_name: apache-php container_name: apache-php
ports: ports:
- "8080:80" - "8280:80"
volumes: volumes:
- ./html:/var/www/html - ./html:/var/www/html
environment: environment:
- APACHE_DOCUMENT_ROOT=/var/www/html - APACHE_DOCUMENT_ROOT=/var/www/html
build:
context: .
dockerfile: dockerfile