/Dockerized-Shiny-Proxy-Server

Shiny proxy server Docker image which spins up dockerized Shiny apps in a Flexdashboard HTML wrapper

Primary LanguageHTML

Dockerized Shiny Proxy Server

Shiny proxy docker image which spins up dockerized Shiny apps in a Flexdashboard HTML wrapper.

  1. Build the dockerimage for the example flexdashboard with docker build -t example_dashboard . in directory of corresponding Dockerfile.
  2. Pull the image for the shiny demo app via docker pull openanalytics/shinyproxy-demo
  3. Build the shiny_proxy dockerimage with docker build -t shiny_proxy . in directory of corresponding Dockerfile.
    This will copy the application.yml and will need the image openanalytics/shinyproxy-demo for including a shiny demo.
  4. Run the shiny proxy server with docker run -d -v /var/run/docker.sock:/var/run/docker.sock --net m-net -p 3838:3838 shiny_proxy. This maps a local volume to a directory in the docker container and maps the docker container port 3838 to your port 3838. This will run the shiny proxy server with the two example apps at localhost:3838 with a common shared container network m-net. User authentication details can be added in the application.yml.

Page links

Static HTML Flexdashboard
Same Flexdashboard with Shiny reactivity