Data in jsreport now persists container restart
Corrected in app volume from /jsreport to /app.
First of all, thank you for your contribution! 😄
Please note that this repo is mostly for popular apps with thousands of stars and tens of thousands of downloads. If you'd like to add a less popular app, you can always create your own 3rd party repo and add your app there.
☑️ Self Check before Merge
- ☑️ I have tested the template using the method described in README.md thoroughly
Mounting app directory is /jsreport according to their document. Where do you see this new volume?
sudo docker run -p 80:5488 -v /myapp:/jsreport jsreport/jsreport:4.0.0
https://jsreport.net/learn/docker
Also, it may be just for the newer versions. The default version needs to be updated as well.
I have version jsreport/jsreport:3.9.0-full and data does not persist if mapped to /jsreport. I have manually checked in container where the report templates are.
The official docs suggest mapping /app/data - at least for version 4+
Mapping /app/data did not work for me, on existing jsreport container /app/data worked but on new installation it didn't, when I changed to /app - according to log file, it did.
Interesting! Okay then, let's do this!
Can you just update the version to the version you tested with?