Last active
October 25, 2017 23:25
-
-
Save petehalverson/b0bb284a3703cad4631e41b586a3f783 to your computer and use it in GitHub Desktop.
A sample docker-compose base for PHP projects
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: '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