Data get's deleted when strapi container restarts

If a file is mounted to the host system it’s stored on the system and not just in the container.
SQLITE in a dev container will cause problems as it’s normally not mounted, meaning you stop the container or redeploy the container and it will delete it.

1 Like