Last active
August 23, 2019 21:39
-
-
Save chasen-bettinger/fcc454db355d7e52f435b4fe4e3072b7 to your computer and use it in GitHub Desktop.
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: | |
db: | |
image: mysql:5.7 | |
ports: | |
- "8081:3306" | |
volumes: | |
- ./sql:/docker-entrypoint-initdb.d | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: password | |
wordpress: | |
depends_on: | |
- db | |
image: cmbibby/wordpress-xdebug | |
ports: | |
- "8000:80" | |
restart: always | |
links: | |
- db:mysql | |
volumes: | |
- ./:/var/www/html | |
environment: | |
WORDPRESS_DB_HOST: db:3306 | |
WORDPRESS_DB_USER: root | |
WORDPRESS_DB_PASSWORD: password | |
phpmyadmin: | |
depends_on: | |
- db | |
image: phpmyadmin/phpmyadmin | |
container_name: phpmyadmin | |
environment: | |
- PMA_ARBITRARY=1 | |
restart: always | |
ports: | |
- 8181:80 | |
volumes: | |
- /sessions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment