Skip to content

Instantly share code, notes, and snippets.

@petehalverson
Last active October 25, 2017 23:25
Show Gist options
  • Save petehalverson/b0bb284a3703cad4631e41b586a3f783 to your computer and use it in GitHub Desktop.
Save petehalverson/b0bb284a3703cad4631e41b586a3f783 to your computer and use it in GitHub Desktop.
A sample docker-compose base for PHP projects
version: '2.1'
services:
php:
image: php:apache
ports:
- 80:80
volumes:
- ./.:/var/www/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment