PhpMyAdmin auto-setup by querying Portainer/Docker API
5.3K
Query the Portainer/Docker API to find all database services.
Then start PhpMyAdmin with these services (as PMA_HOSTS).
Just restart this service after you introduce new database containers.
The image is based on the official phpmyadmin docker image. All environment variables from there can be used.
The following variables must be set to make the portainer API work:
PORTAINER_URL = the URL of the portainer instancePORTAINER_USER = a portainer user with rights to query containers via the Docker APIPORTAINER_PASS = the password of the PORTAINER_USERPORTAINER_NETWORK = query all containers belonging to this networkContent type
Image
Digest
sha256:8c8e90c24…
Size
259 MB
Last updated
7 months ago
docker pull iwfwebsolutions/phpmyadmin-portainer