redis not being enabled on all instances when run in replica mode in kubernetes
-
Hi Team,
I run 2x nginx container and 2x php container
nginx -> proxy to -> php container
If the redis cache is enabled using the gui it creates a file only in one php container the files is called
object-cache.php and it’s localed in the public/wp-content/object-cache.php
The problem is that wp-content can’t be a global storage as the specific version of plugins are baked in into the container image and they can’t change until the image is rebuild. This is to make sure that release is version controller/tested and can’t change.
Can this file be configurable so it can be created in the different location?
What I end up is to have 2 instances or more when the redis can only be enabled in one container.
- You must be logged in to reply to this topic.