Last active
October 30, 2016 23:07
-
-
Save webarthur/71e73416dde88de6c47c04e7a6646835 to your computer and use it in GitHub Desktop.
Docker para WordPress com Compose
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:latest | |
| ports: | |
| - 80:80 | |
| volumes: | |
| - ./html:/var/www/html/ | |
| environment: | |
| WORDPRESS_DB_NAME: wp | |
| WORDPRESS_DB_USER: root | |
| WORDPRESS_DB_PASSWORD: 123 | |
| links: | |
| - db:mysql | |
| db: | |
| image: mariadb | |
| environment: | |
| MYSQL_ROOT_PASSWORD: 123 | |
| volumes: | |
| - ./db:/var/lib/mysql | |
| phpmyadmin: | |
| image: phpmyadmin/phpmyadmin | |
| ports: | |
| - 8080:80 | |
| links: | |
| - db:mysql | |
| environment: | |
| PMA_HOST: mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment