Created
May 1, 2017 16:05
-
-
Save zerbfra/b531d59ecbedb83141819839652d39bb to your computer and use it in GitHub Desktop.
Wordpress + PhpMyAdmin + External volume
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: | |
- ./html:/var/www/html | |
wordpress_db: | |
image: mariadb | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
phpmyadmin: | |
image: phpmyadmin/phpmyadmin | |
links: | |
- wordpress_db:mysql | |
ports: | |
- 8181:80 | |
environment: | |
PMA_HOST: mysql | |
PMA_PORT: 3306 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment