The application:
I'm building a statistics app which allows users to login, upload data files, and do some statistics calculations with the data. The plots generated would be displayed to them on the browser and the plots would need to be saved to disk too (to avoid having to re-generate them the next time the user wants to view it).
Files anticipated:
- The data files the user uploads (
xlsorcsvfiles). - The generated plots (
pngfiles). - User preferences/settings of how they use the app.
- Log files of actions taken by the user, errors encountered, etc. (logger files generated by
Python,JuliaorR)
My initial assumptions:
- and 2. I've seen volumes, but how will the user files be stored there? Do I just create a folder for a user and store all their data there? Any security issues you see?
- I assume these would get stored in an SQL or no-SQL database).
- Aren't logs normally sent to a separate Docker container that's specifically meant for storing logs? So rather than use a standard logger, would it be better to send the log message to a container or database, using
RabbitMQ?
Would there be any sample project on GitHub or GitLab that I could refer?
If Docker wasn't used; if the app was just deployed on a server, the user files would simply be stored in folders on the server, correct? I believe it is "frowned upon" to store files as BLOBs in a database.