Challenges Migrating from Strapi v3 to v4 — Considering Dockerizing v3 for Stability

Hi everyone,

Our team is currently facing several challenges while attempting to migrate from Strapi v3 to v4. Given the complexity of the migration, particularly due to the volume of data we need to transfer, we are considering Dockerizing our existing Strapi v3 setup.

We have a few questions and would love to gather some feedback from the community:

  1. Does Dockerizing Strapi v3 help with stability and would it work without breaking the existing setup?
    We’re hoping that containerization could simplify our environment management and offer a more consistent deployment. Has anyone seen significant benefits from Dockerizing their Strapi v3 instances?
  2. Has anyone containerized Strapi v3 before, and what have the results been so far?
    We’re curious about the potential roadblocks and successes that others have encountered when running Strapi v3 in containers. Is it smooth, or are there pitfalls we should be aware of?
  3. Migration to Strapi v4 is currently not feasible for us due to the challenges we’re facing with data migration and overall project timelines. We would like to focus on stabilizing v3 before revisiting the v4 migration in the future.

We’re open to feedback, experiences, or any general comments that might help us make an informed decision moving forward. Any advice is appreciated!

Thanks in advance for your help and insights!

Yes we’ve run v3 in production with Docker.
However if Docker itself is a challenge for you might be better off updating to v4 before and dockerize the updated environment only once.

Hi @minzig,

Thanks so much for sharing your experience! We’re looking into doing the same, and your insights would be super helpful.

If you don’t mind, could you share a bit more about your setup? I’m curious:

How did you structure things? Did you containerize everything (like Strapi and the database), or did you keep some things outside of Docker?
Were there any tricky parts or challenges you ran into when setting it all up? Any tips or pitfalls we should keep in mind?
How’s it been running in production? Has Docker helped with stability, scaling, or deployment ease?

We’re hoping to avoid any big surprises, so any advice from your experience would really mean a lot!

Thanks again for taking the time to help, I really appreciate it!