In production when using OKE clusters, we encounter an issue where the filestore (logos, data, settings, etc.) gets corrupted and lost every time we redeploy the Odoo service. I am using Odoo V16. How can we redeploy in such a way that all data and the filestore remain intact and consistent?
In development, I use docker compose build and docker compose up every time, but as this is not a standard approach for redeploying in a production environment. How can we permanently resolve this issue?
Hello Hemanth,
To avoid this, you can build and use a custom Docker image for your Odoo setup that includes your custom addons.
When you rebuild and redeploy using your updated image, only the code changes are updated — your data and filestore remain intact.