Running Shiny apps in ShinyProxy

This repository explains how to run a Shiny app in ShinyProxy. For simplicity, the R code in this repository is not bundled into a R package. See this demo that uses the same code, but as an R package.

Related demos:

Building the Docker image

To pull the image made in this repository from Docker Hub, use

sudo docker pull openanalytics/shinyproxy-shiny-demo-minimal

The relevant Docker Hub repository can be found at https://hub.docker.com/r/openanalytics/shinyproxy-shiny-demo-minimal.

To build the image from the Dockerfile, navigate into the root directory of this repository and run

sudo docker build -t openanalytics/shinyproxy-shiny-demo-minimal .

Running the image for testing purposes outside ShinyProxy can be done using e.g.

sudo docker run -it -p 3838:3838 openanalytics/shinyproxy-shiny-demo-minimal

ShinyProxy Configuration

Create a ShinyProxy configuration file (see application.yml for a complete file), containing:

proxy:
  specs:
    - id: euler
      container-image: openanalytics/shinyproxy-shiny-demo-minimal

References

(c) Copyright Open Analytics NV, 2016-2024.