Skip to content

Instantly share code, notes, and snippets.

@lucascardial
Last active December 10, 2018 18:54
Show Gist options
  • Save lucascardial/bc3f1233394ff1998b44a823d1ae32cd to your computer and use it in GitHub Desktop.
Save lucascardial/bc3f1233394ff1998b44a823d1ae32cd to your computer and use it in GitHub Desktop.
Wordpress Theme dockerized

docker-compose up (-d optional)

version: '3'
services:
wordpress:
image: wordpress:php7.1
ports:
- 8081:80
environment:
WORDPRESS_DB_PASSWORD: super-secure-password
volumes:
- ./:/var/www/html/wp-content/themes/{your-theme-folder}/
mysql:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: super-secure-password
@lucascardial
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment