Share data between apps


Hi! I Have several R apps at containers besides shiny-server. Need to share results of one app (csv file) to another. So the question is: could we run multiple containers at once? I mean when I clicked to the the app at shiny-proxy, could it start two containers with shared volume between them?


I think this is what databases are for! You could spin up a hosted SQL database easily at AWS/MS/Google etc. and then log into the database from each of your containers.


Agreed. Until you only work with small data - even the filesharing would do the job. However, as things get complex, it’s easy to get lost - and is definitely wise to store all data in DBs rather than in csv files. I recommend the MongoDB (that consumes disk-space) and Redis (that consumes RAM) databases. Both are open-source and are supported by R.