Last active
July 22, 2017 16:19
-
-
Save abdul/7c110f3712903023ddd354c9c349a06f to your computer and use it in GitHub Desktop.
WordPress Development with 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
version: '3' | |
services: | |
wordpress: | |
image: wordpress:latest | |
ports: | |
- 8080:80 | |
- 8084:443 | |
volumes: | |
- ./data:/data | |
- ./src:/var/www/html | |
environment: | |
WORDPRESS_DB_HOST: db | |
WORDPRESS_DB_PASSWORD: root | |
depends_on: | |
- db | |
db: | |
image: mysql:5.7 | |
volumes: | |
- data:/var/lib/mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
phpmyadmin: | |
image: phpmyadmin/phpmyadmin | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
ports: | |
- 8092:80 | |
volumes: | |
data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment