Skip to content

Instantly share code, notes, and snippets.

@dmsnell
Created December 8, 2016 21:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dmsnell/4e3e7d6031c3273cfcb5b6f4e5edd9f8 to your computer and use it in GitHub Desktop.
Save dmsnell/4e3e7d6031c3273cfcb5b6f4e5edd9f8 to your computer and use it in GitHub Desktop.
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