Skip to content
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

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

Open
lautreamont3 opened this issue Nov 13, 2013 · 2 comments

Comments

@lautreamont3
Copy link

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.

@jbfink
Copy link
Owner

jbfink commented Nov 13, 2013

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?

@lautreamont3
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants