First of all, I would like to congratulate you for the amazing work you have done. This is endeed a very viable alternative to run shiny app, having the possibility for free to configure LDAP authentication.
I would also like to ask for your help, regarding:
Can you help me on understanding how the deployment process works? Imagine that I have a server.R and ui.R. How should I deploy them?
My biggest issue, is that I have a flexdashboard app, therefore a .RMD file only. How can I deploy it?
Thank you very much for your fast reply. I’m a little lost. Where should I include my ui.R and my server.R then? Afterwards, I have to do something with docker right?
Sorry for the quantity of questions.
I’ll wait for the feedback on the .rmd file (flexdashboard) since is my particular case.
The idea is that you make an R package similar to the shinyproxy R package and that you include the ui.R and server.R in e.g. the inst/ui folder of that package. Then you can mimick the run_01_hello function inside your package (in the R/ folder) which will be used to copy the Shiny app files to the temp dir (using system.file to retrieve the path).
Once you have the package you indeed need to generate a docker image in which this package is installed.
Although we tend to always include these Shiny apps inside R packages, it is actually not needed per se, so if you prefer a simpler solution, you could also just generate a docker image with a folder in which you put the ui.R and server.R. Then in the application.yml, you can just invoke
I was able to get this to work, I modified the docker file with a line like this: COPY bom /root/bom
Then in the application.yml file, I referred to this app with: docker-cmd: ["R", "-e shiny::runApp('/root/bom')"]