-
-
Save ulyssesr/c2a97a6d55333a55815408c2620373c6 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
version: '2' | |
services: | |
wordpress: | |
image: wordpress | |
ports: | |
- 8888:80 | |
environment: | |
WORDPRESS_DB_PASSWORD: password | |
volumes: | |
- ./html:/var/www/html | |
mysql: | |
image: mariadb | |
environment: | |
MYSQL_ROOT_PASSWORD: password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment