openanalytics / shinyproxy

ShinyProxy - Open Source Enterprise Deployment for Shiny and data science apps
https://www.shinyproxy.io
Apache License 2.0
520 stars 151 forks source link

Modular Application Loading Preinitialized Containers #516

Open kramerrs opened 1 month ago

kramerrs commented 1 month ago

I believe there are likely other requests for this. Modular application loading is becoming more desirable with preinitialized containers.

The use case is as follows. I recently moved preinitialized containers into production. One of the apps hasn't been used for a while, and it appears to be choking on production data. This wasn't discovered until the preinitialized containers launched. There isn't any way to disable it without stopping restarting all apps, it just sits there launching and failing, until the dev that wrote it gets back from vacation.

In general, many apps make it difficult to update the server.

LEDfan commented 4 days ago

Hi, as I understand what you are requesting is the capability to update a single app without restarting the ShinyProxy server? For various reasons, this is something we prefer to not implement directly in ShinyProxy. However, we do have plans to make it possible to seamlessly update the ShinyProxy configuration without downtime, even when using a plain docker host. The approach is similar to the shinyproxy-operator for Kubernetes (https://github.com/openanalytics/shinyproxy-operator), but in this case specific for Docker/Docker swarm (and probably also AWS ECS).

If this is something you are interested it and want to know more about or test, don't hesitate us to contact us. (Of course it will be open-sourced when it's ready).