Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 863 Bytes

README.md

File metadata and controls

49 lines (30 loc) · 863 Bytes

What

It is a docker image with shiny-proxy server.

Why (Purpose)

Isolated shiny-proxy server with a specific version of the software.

How to

Set up

sudo docker network create sp-example-net

Build

docker build . -t shinyproxy:v-2.6.1

Run

Simple test:

docker run \
  --rm \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v "$(pwd)":/opt/shinyproxy/config/ \
  --net sp-example-net \
  -p 8080:8080 \
  shinyproxy:v-2.6.1

Production example

docker run \
  -d \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v /data/shiny/:/opt/shinyproxy/config/ \
  --net sp-example-net \
  -p 8080:8080 \
  --name shiny-proxy \
  akiro/docker-shiny-proxy:v-2.6.1

Source

Initial idea was taken from /shinyproxy-example/ folder in https://github.com/openanalytics/shinyproxy-config-examples.git

Thanks Openanalytics.