diff --git a/README.md b/README.md index db6ed0f..214dcd5 100644 --- a/README.md +++ b/README.md @@ -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 ------- diff --git a/data/docker/dbadmin/Dockerfile b/data/docker/dbadmin/Dockerfile new file mode 100644 index 0000000..59fa650 --- /dev/null +++ b/data/docker/dbadmin/Dockerfile @@ -0,0 +1,3 @@ +FROM phpmyadmin/phpmyadmin + +MAINTAINER Igor Chepurnoi diff --git a/docker-compose.yml b/docker-compose.yml index 02db8bc..d7adc0e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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