docker-wordpress icon indicating copy to clipboard operation
docker-wordpress copied to clipboard

It would be nice that we can mount WP and MySQL data directory from host

Open lautreamont3 opened this issue 11 years ago • 2 comments

It would be nice that we can mount WP and MySQL data directory from host so that we keep source and data on host and use container just as platform, like god meant to be.

lautreamont3 avatar Nov 13 '13 16:11 lautreamont3

In production, absolutely. However, I'm not considering docker-wordpress to be a production-ready project. It's basically an easy-to-understand demonstration of Docker and so I think it's important to have mysql/wp data all wrapped up into the container.

I'm certainly open to a fork that might be more appropriate for production use. Or do you think I should have a branch within this project?

jbfink avatar Nov 13 '13 16:11 jbfink

I was thinking on development. I know that it looks like its against docker philosophy (container here its container everywere) but its in good use. Menage code on host, test on container. And if you mount mysql data you can test any WP project on same container. About forking, like I sad, I am no expert (just convert from Windows). I have sugestion include ftpd package in installation and set ftp credentials in wp-config.php (localhost,username,password) and there will be no problems with uploading and updating WP, from my (short) expirience.

lautreamont3 avatar Nov 13 '13 17:11 lautreamont3