Created
March 20, 2017 18:04
-
-
Save gbrennon/6e2df1b13700d2a0ca20f0b49913afaf to your computer and use it in GitHub Desktop.
wordpress-docker
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
| wp: | |
| image: wordpress | |
| links: | |
| - db:mysql | |
| environment: | |
| WORDPRESS_DB_PASSWORD: password | |
| WORDPRESS_DB_TABLE: wordpress | |
| restart: always | |
| ports: | |
| - 8180:80 | |
| volumes: | |
| - ./:/usr/src/wordpress | |
| - ./:/var/www/html | |
| - uploads.ini:/usr/local/etc/php/conf.d/uploads.ini | |
| db: | |
| image: mariadb | |
| environment: | |
| MYSQL_ROOT_PASSWORD: password | |
| MYSQL_DATABASE: wordpress | |
| phpmyadmin: | |
| image: corbinu/docker-phpmyadmin | |
| links: | |
| - db:mysql | |
| ports: | |
| - 8181:80 | |
| environment: | |
| MYSQL_USERNAME: root | |
| MYSQL_ROOT_PASSWORD: password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment