Created
February 8, 2019 20:42
-
-
Save dancr13/e4705eb5342f581ca0d86acc9a71aa57 to your computer and use it in GitHub Desktop.
DOCKER: Wordpress+mariadb+phpmyadmin
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
wordpress: | |
image: wordpress | |
links: | |
- wordpress_db:mysql | |
ports: | |
- 8080:80 | |
volumes: | |
- ./wp-content/:/var/www/html/wp-content | |
wordpress_db: | |
image: mariadb | |
environment: | |
MYSQL_ROOT_PASSWORD: examplepass | |
phpmyadmin: | |
image: corbinu/docker-phpmyadmin | |
links: | |
- wordpress_db:mysql | |
ports: | |
- 8181:80 | |
environment: | |
MYSQL_USERNAME: root | |
MYSQL_ROOT_PASSWORD: examplepass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment