-
Notifications
You must be signed in to change notification settings - Fork 238
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
Versionpress is not docker mount friendly during activation #1456
Comments
To solve the problem when behind a load balancer, you should introduce a WP-CLI command which activates versionpress similar to the Wordpress Admin Plugin Activation. |
Just create Dockerfile
And docker-compose.yml
|
@olexiyb I think |
I was checking this project (loving it btw) and I think I was planning to use it in a similar way as you @ricxsar. I guess this might be old news by now., but there is |
I tried to create a wordpress docker image with versionpress on it. I'm only interested on versionpress files so I created a mount point of git on wordpress root folder (/var/www/html/.git) and versionpress db folder (vpdb) on wp-content folder (/var/www/html/wp-content/vpdb).
On the checklist says
This website is already versioned in Git
even though the .git folder and vpdb is empty.And also when i tried to activate it, it will try to delete the mounted folders which throws an error since it is not a normal folder.
I'm proposing is instead of deleting the folder, it should only delete the files inside it.
Another thing is when the docker image is deployed under a load balancer, it will not be successfully activated because mostly of the load balancers have limits on response time.
Please take the above situations on your design so that versionpress can be used on docker images.
More power and God bless us all.
The text was updated successfully, but these errors were encountered: