Last active
March 10, 2019 23:27
-
-
Save whoisryosuke/77da2fbe1c5ce782a0908cb1e8d17fe7 to your computer and use it in GitHub Desktop.
Docker π³ - Wordpress easy-mode server. Drop this into the wordpress project root, run `docker-compose up -d`, go to http://localhost:8080 πβ‘οΈ
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: | |
my-wpdb: | |
image: mariadb | |
ports: | |
- "8081:3306" | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
my-wp: | |
image: wordpress | |
volumes: | |
- ./:/var/www/html | |
ports: | |
- "8080:80" | |
links: | |
- my-wpdb:mysql | |
environment: | |
WORDPRESS_DB_PASSWORD: root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment