Skip to content

Instantly share code, notes, and snippets.

@dmsnell
Last active October 5, 2016 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmsnell/2548839a34180a4e2949815b42b7ed6c to your computer and use it in GitHub Desktop.
Save dmsnell/2548839a34180a4e2949815b42b7ed6c to your computer and use it in GitHub Desktop.
WordPress docker compose configuration for local Jetpack dev
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