david htbs Posted October 19 Share Posted October 19 Hello My customer requested to host his prestashop website on Kubernetes. He provided a zip file containing his website content. I successfully deployed it in Kubernetes. But I have some questions (I don't know prestashop) The customer informed me the "modules" folder must be writable, because some modules write in this folder. Do you confirm this ? But this folder is versionned in the git repository and restored with each deployment. I don't understand how to deal with this folder. Is there a way to know "modules" subfolders contain changed files after the deployement ? Thanks. David. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted October 21 Share Posted October 21 Hi, if your Prestashop site is on a repository, after deploy you need (recommend test on a staging before live) to update modules. Modules have their own repository and updated continuously (bug fix, security fix, new features...) Link to comment Share on other sites More sharing options...
david htbs Posted October 21 Author Share Posted October 21 Hello I update the "modules" folder during the docker image build. (with composer) So the "modules" is static, overwritten with each build. But the customer informed that during the application run, some modules upload files (like images) in the "modules" subfolders. So the "modules" folder contain code and uploaded files. So, they are lost with each deployment. The only solution I know : Mount a persistent volume for each subfolder containing dynamic files Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now