docker-compose up (-d optional)
Last active
December 10, 2018 18:54
-
-
Save lucascardial/bc3f1233394ff1998b44a823d1ae32cd to your computer and use it in GitHub Desktop.
Wordpress Theme dockerized
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: '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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved (y)