Created
December 8, 2016 21:27
-
-
Save dmsnell/4e3e7d6031c3273cfcb5b6f4e5edd9f8 to your computer and use it in GitHub Desktop.
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' | |
services: | |
wordpress: | |
image: wordpress | |
ports: | |
- 80:80 | |
environment: | |
WORDPRESS_DB_PASSWORD: example | |
volumes: | |
# WordPress and Jetpack are checked out from their git repositories | |
- ./wordpress:/var/www/html/ | |
- ./jetpack:/var/www/html/wp-content/plugins/jetpack/ | |
- ./opcache-recommended.ini:/usr/local/etc/php/conf.d/opcache-recommended.ini | |
- ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini | |
mysql: | |
image: mariadb | |
environment: | |
MYSQL_ROOT_PASSWORD: example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment