Created
May 8, 2015 14:20
-
-
Save orod/c54ebf0b4b813096f3a6 to your computer and use it in GitHub Desktop.
docker-compose file for wordpress
This file contains 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: | |
- db:mysql | |
ports: | |
- 8080:80 | |
working_dir: /var/www/html | |
volumes: | |
- wordpress/wp-content/:/var/www/html/wp-content | |
db: | |
image: mariadb | |
environment: | |
MYSQL_ROOT_PASSWORD: example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment