Skip to content

Instantly share code, notes, and snippets.

@senadir
Created November 13, 2019 10:27
Show Gist options
  • Save senadir/18307da0ce31a4fd9d1a491d3a4e6b6d to your computer and use it in GitHub Desktop.
Save senadir/18307da0ce31a4fd9d1a491d3a4e6b6d to your computer and use it in GitHub Desktop.
my docker-compose file
version: '2'
services:
wordpress:
image: wordpress
ports:
- 8889:80
environment:
WORDPRESS_DEBUG: 1
WORDPRESS_DB_PASSWORD: example
volumes:
- ~/work/wordpress/build:/var/www/html/
- ~/work/gutenberg:/var/www/html/wp-content/plugins/gutenberg
- ~/work/wc:/var/www/html/wp-content/plugins/woocommerce
- ~/work/bergs-woo:/var/www/html/wp-content/plugins/woocommerce-gutenberg-products-block
- ~/work/admin-wc:/var/www/html/wp-content/plugins/woocommerce-admin
- ~/work/gutenberg/packages/e2e-tests/mu-plugins:/var/www/html/wp-content/mu-plugins
- ~/work/gutenberg/packages/e2e-tests/plugins:/var/www/html/wp-content/plugins/gutenberg-test-plugins
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