Skip to content

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

Notifications You must be signed in to change notification settings

timoschd/Dockerized-Shiny-Proxy-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is described in detail in the corresponding blog post series:

Part I: https://medium.com/analytics-vidhya/shiny-dashboards-with-flexdashboard-e66aaafac1f2

Part II: https://medium.com/analytics-vidhya/deploying-a-shiny-flexdashboard-with-docker-cca338a10d12

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages