New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard to handle many servers with `PMA_VERBOSES/PMA_HOSTS/PMA_PORTS` #143

kujiy opened this Issue Dec 14, 2017 · 1 comment


None yet
2 participants

kujiy commented Dec 14, 2017

Since it is hard to handle comma-separated PMA_VERBOSES/PMA_HOSTS/PMA_PORTS for more than ten database servers, I'm working on making a tool that makes the comma-separated envs from python dictionary.

Current my envs are like this

- PMA_VERBOSES=factory-db,data-db,developers-db,baas-db,main-db,main-test-db,daze-db,vir3,reas-db1,inter01-test-db,shit-dbm,shit-dbs,sat-dbm,sat-dbs
- PMA_HOSTS=,,,,,,,,,,,,,
- PMA_PORTS=3306,3306,3306,3306,3306,3306,3306,3306,3306,3306,20036,20037,20136,20137

I thought this tool could be in this project, however, it seemed more straight to place an additional server list that is a php file in a certain place with docker-compose volume section.

What is a good way to handle lots of servers in this project? I'd like to hear an opinion.

Thank you.

nijel added a commit to phpmyadmin/phpmyadmin that referenced this issue Dec 14, 2017

Add example for custom servers setup in Docker container
See phpmyadmin/docker#143

Signed-off-by: Michal Čihař <>

@nijel nijel added the question label Dec 14, 2017

@nijel nijel self-assigned this Dec 14, 2017


This comment has been minimized.

Show comment
Hide comment

nijel Dec 14, 2017


You can use PHP file as well to define the configuration, see (I've just added example for your case there).


nijel commented Dec 14, 2017

You can use PHP file as well to define the configuration, see (I've just added example for your case there).

@nijel nijel closed this Dec 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment