Wanted to ask if anyone has encountered this situation. Every time I deploy the new version of my app using mupx deploy. All the images in my .uploads folder dissappears. I have setup mupx again, initialized etc, nothing seems to work. Any suggestions to fix this issue will be greatly appreciated
Another option is to consider storing your uploads externally (on another server, in a database, in the cloud, etc.). This will not only make sure they aren’t touched when you redeploy with mup, but will also prepare you for the future in-case you need to start load balancing your app across multiple servers. Take a look at packages like edgee:slingshot and lepozepo:cloudinary for a great way to handle uploads using cloud servers (S3, Google, etc.).
Just checked out the latest iteration of Meteor Up https://github.com/kadirahq/meteor-up. It seems that it is now the recommended release and you can create docker volumes from the config file without modifying the source.
There are three separate versions of mup right now, hence the confusion. First there was mup (nowadays sometimes called “classic mup”), which is deprecated. Then there’s mupx which is the current “stable” version, and finally kadirahq/meteor-up or just mup, which is the current development version, but many people already use it in production.
If you want to use classic one on Meteor 1.3 or higher you might want to check out my fork which is fixed to work with these. Original version is not compatible with Meteor 1.3.