Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
dyadyal committed Oct 2, 2022
1 parent 874f241 commit 9c3b3fa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
version: '3'

services:
php-apache:
container_name: PHP-Apache
image: php
container_name: PHP
image: php:8-cli
volumes:
- ./:/var/www/html/
- ./:/app
ports:
- 80:80
- 8000:8000
command: php -S 0.0.0.0:8000 -t /app
3 changes: 3 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

phpinfo();

0 comments on commit 9c3b3fa

Please sign in to comment.