Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/openanalytics/shinyproxy-shiny-demo-minimal

Running Shiny apps in ShinyProxy (minimal variant)
https://github.com/openanalytics/shinyproxy-shiny-demo-minimal

containers docker kubernetes r shiny shinyproxy

Last synced: 3 months ago
JSON representation

Running Shiny apps in ShinyProxy (minimal variant)

Awesome Lists containing this project

README

        

# 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](https://r-pkgs.org/).
See [this demo](https://github.com/openanalytics/shinyproxy-shiny-demo) that uses the
same code, but as an R package.

Related demos:

- [plain Shiny demo](https://github.com/openanalytics/shinyproxy-shiny-demo)
- [Shiny demo using pak](https://github.com/openanalytics/shinyproxy-shiny-pak-demo)
- [Shiny demo using r2u](https://github.com/openanalytics/shinyproxy-shiny-r2u-demo)
- [Shiny demo using renv](https://github.com/openanalytics/shinyproxy-shiny-renv-demo)

## Building the Docker image

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

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

The relevant Docker Hub repository can be found at .

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

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

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

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

## ShinyProxy Configuration

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

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

## References

- [ShinyProxy.io](https://shinyproxy.io/)
- [All demos](https://shinyproxy.io/documentation/demos/)

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