Skip to content
Snippets Groups Projects
Unverified Commit 3d341994 authored by Harald Nezbeda's avatar Harald Nezbeda Committed by GitHub
Browse files

Merge pull request #22 from slhck/add-pma

Add phpMyAdmin
parents dcf0b97e ba3ba561
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,12 @@
Easy WordPress development with Docker and Docker Compose.
With this project you can quickly run the following:
- [WordPress and WP CLI](https://hub.docker.com/_/wordpress/)
- [phpMyAdmin](https://hub.docker.com/r/phpmyadmin/phpmyadmin/)
- [MySQL](https://hub.docker.com/_/mysql/)
Contents:
- [Requirements](#requirements)
......@@ -139,3 +145,9 @@ This way you can use the CLI command above as follows:
```
wp plugin list
```
### phpMyAdmin
You can also visit `http://127.0.0.1:8080` to access phpMyAdmin after starting the containers.
The default username is `root`, and the password is the same as supplied in the `.env` file.
\ No newline at end of file
......@@ -27,6 +27,17 @@ services:
- db
- wp
pma:
image: phpmyadmin/phpmyadmin
environment:
PMA_HOST: db
PMA_PORT: 3306
MYSQL_ROOT_PASSWORD: "${DB_ROOT_PASSWORD}"
ports:
- ${IP}:8080:80
links:
- db:db
db:
image: mysql:latest # https://hub.docker.com/_/mysql/ - or mariadb https://hub.docker.com/_/mariadb
ports:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment