docker icon indicating copy to clipboard operation
docker copied to clipboard

How restrict access by IP

Open AntoineDavidSupersoniks opened this issue 3 years ago • 1 comments

Hi,

How to restrict the access by adress IP to phpMyAdmin, I mean i known how restrict an access by IP but what the best practice for this image ?

Cordialy

AntoineDavidSupersoniks avatar Jun 16 '22 14:06 AntoineDavidSupersoniks

Hi @AntoineDavidSupersoniks I think it would be best to use a custom user config: https://github.com/phpmyadmin/docker#adding-custom-configuration

And then something like: https://docs.phpmyadmin.net/en/latest/config.html#cfg_Servers_AllowDeny_rules

Let me know if this fits your needs

williamdes avatar Jul 01 '22 22:07 williamdes