WordPress DevOps – Environments
-
Hi everyone,
in my company we are trying to use WordPress on Docker. Our target is to give a “staging” envrionment where users/editors can make changes, update plugins/themes, write pages/articles, etc….
We want to make a “snapshot” of the version on the staging and deploy it to the production environment, where we want to disable the wp-admin area (security reasons).
This might me doable but we are facing a problem related to the plugin management. On staging and production the database can be quite different and we all know that WP saves absolute paths so we also have to do a replacement for the domain.
The issue is that the settings of the plugins might reside in different tables as not every plugin saves stuff in wp_option. So the problem is to understand how to pick only the changes made to plugins on staging and deploy to production without taking all the DB.
Is there any experience on this scenario available in the community?
Has anybody tried to have multiple environments with Worpdress on Docker?
We are using Rancher for the orchestration.
- The topic ‘WordPress DevOps – Environments’ is closed to new replies.