Last active
October 5, 2016 23:22
-
-
Save dmsnell/2548839a34180a4e2949815b42b7ed6c to your computer and use it in GitHub Desktop.
WordPress docker compose configuration for local Jetpack dev
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: | |
- ./opcache-recommended.ini:/usr/local/etc/php/conf.d/opcache-recommended.ini | |
- ./jetpack:/var/www/html/wp-content/plugins/jetpack | |
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