Skip to content

Commit

Permalink
added phpmyadmin to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-chepurnoi committed Jan 12, 2017
1 parent ff0625d commit 1e21eb4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ When done, you need to execute migrations in the web container by the following

After this steps, you can access your app from [http://localhost](http://localhost).

> Also, you can access to phpmyadmin by the following url [http://localhost:8088/](http://localhost:8088/).
TESTING
-------
Expand Down
3 changes: 3 additions & 0 deletions data/docker/dbadmin/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM phpmyadmin/phpmyadmin

MAINTAINER Igor Chepurnoi <[email protected]>
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,16 @@ services:
- db
depends_on:
- db

db_admin:
build: ./data/docker/dbadmin
ports:
- "8088:80"
links:
- db
depends_on:
- db
environment:
PMA_HOST: db
PMA_USER: root
PMA_PASSWORD: secret

0 comments on commit 1e21eb4

Please sign in to comment.