Created
November 14, 2016 15:38
-
-
Save schalkneethling/3a82517880098fe5bbb364908ae382ad to your computer and use it in GitHub Desktop.
Spin up a local docker for wordpress development
This file contains hidden or 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
wpdb: | |
image: mysql | |
ports: | |
- "8081:3306" | |
environment: | |
MYSQL_ROOT_PASSWORD: p@33w0rd | |
wp: | |
image: wordpress | |
volumes: | |
- ./:/var/www/html | |
ports: | |
- "8080:80" | |
links: | |
- wpdb:mysql | |
environment: | |
MYSQL_USERNAME: root | |
MYSQL_ROOT_PASSWORD: p@33w0rd | |
WORDPRESS_DB_PASSWORD: p@33w0rd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment