phpmyadmin / docker

Docker container for phpMyAdmin
https://hub.docker.com/_/phpmyadmin
GNU General Public License v3.0
665 stars 456 forks source link

Add ENV PMA_UPLOADDIR and PMA_SAVEDIR ENVs #384

Closed chrisproud closed 1 year ago

chrisproud commented 1 year ago

When hosting this image on an Azure hosted container instance, I can mount an Azure FileShare to a local path for uploads but I can't add custom file to the local volume to set the configuration.

This PR adds support setting the UploadDir and SaveDir through environment variables.

williamdes commented 1 year ago

@MauricioFauth @ibennetch If you have no objection I will merge this one soon and document it on the main repository

chrisproud commented 1 year ago

@williamdes , anything I can do to help fix this broken test?

williamdes commented 1 year ago

@williamdes , anything I can do to help fix this broken test?

Nevermind, I restarted the job. It's on my todo list I will write a test for this feature and merge it :)

williamdes commented 1 year ago

Thank you for your contribution ! I merged it and wrote tests for it in:

williamdes commented 1 year ago

Deployed on https://hub.docker.com/_/phpmyadmin ! 🚀