Skip to content

Instantly share code, notes, and snippets.

@phoenixthrush
Created April 26, 2024 18:00
Show Gist options
  • Save phoenixthrush/5da3629bd7eb3b93aad90d4deca898cc to your computer and use it in GitHub Desktop.
Save phoenixthrush/5da3629bd7eb3b93aad90d4deca898cc to your computer and use it in GitHub Desktop.
Quick and dirty PHP Docker Server (chmod -R a+w public)
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