mirror of
https://github.com/elyby/accounts.git
synced 2024-12-27 15:40:21 +05:30
Добавлен phpmyadmin в docker-compose
This commit is contained in:
parent
184ff02240
commit
65382fa1ce
@ -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
|
||||
|
5
docker/phpmyadmin/Dockerfile
Normal file
5
docker/phpmyadmin/Dockerfile
Normal 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/
|
4
docker/phpmyadmin/config.local.php
Normal file
4
docker/phpmyadmin/config.local.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
$cfg['NavigationTreeEnableGrouping'] = false;
|
||||
$cfg['LoginCookieValidity'] = 60 * 60 * 24 * 365;
|
Loading…
Reference in New Issue
Block a user