Created
April 26, 2024 18:00
-
-
Save phoenixthrush/5da3629bd7eb3b93aad90d4deca898cc to your computer and use it in GitHub Desktop.
Quick and dirty PHP Docker Server (chmod -R a+w public)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
php-apache: | |
image: php:8.3-apache | |
ports: | |
- "8000:80" | |
volumes: | |
- ./src:/var/www/html | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment