Добавлен phpmyadmin в docker-compose

This commit is contained in:
ErickSkrauch 2016-05-12 23:28:23 +03:00
parent 184ff02240
commit 65382fa1ce
3 changed files with 21 additions and 0 deletions

View File

@ -60,3 +60,15 @@ services:
build: ./docker/rabbitmq
ports:
- "15672:15672"
phpmyadmin:
build: ./docker/phpmyadmin
environment:
- PMA_ARBITRARY=1
- PMA_USER=root
- PMA_PASSWORD=
restart: always
ports:
- "8181:80"
links:
- db

View File

@ -0,0 +1,5 @@
FROM phpmyadmin/phpmyadmin
RUN printf "\n\nrequire('./config.local.php');\n" >> /www/config.inc.php
COPY config.local.php /www/

View File

@ -0,0 +1,4 @@
<?php
$cfg['NavigationTreeEnableGrouping'] = false;
$cfg['LoginCookieValidity'] = 60 * 60 * 24 * 365;