Skip to content
Use shinyproxy to achieve Rstudio Server Pro feature parity
Branch: master
Clone or download
Latest commit 7603e8d Mar 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dash initial commit Mar 27, 2019
jupyter initial commit Mar 27, 2019
rstudio initial commit Mar 27, 2019
shiny initial commit Mar 27, 2019
README.md small updates Mar 28, 2019
application.yml refactor Mar 27, 2019
docker-compose.yml refactor Mar 27, 2019
nginx.Dockerfile refactor Mar 27, 2019
nginx.conf refactor Mar 27, 2019
setup.sh small updates Mar 28, 2019
shinyproxy.Dockerfile refactor Mar 27, 2019

README.md

Data Science Portal

A portal to RStudio and Jupyter with ability to host Shiny and Dash apps.

Background

This uses shinyproxy under the hood to manage login and etc. Thi assumes you'll be running on a linux system.

Getting started

  1. Make sure docker and docker-compose are installed.
  2. Clone this repo
  3. Build docker images for example apps
docker build -t example_shiny ./shiny
docker build -t example_dash ./dash
docker build -t rstudio ./rstudio
docker build -t jupyter ./jupyter
  1. Create a docker user/group for managing mounted home dirs in rstudio and jupyter. more info
groupadd -g 1011 docker_worker
useradd -s /bin/false -u 1010 -g 1020 docker_worker

Give the users home directories and pass ownership to the docker_worker

# these are my cats - they are data scientists too...
sudo mkdir /home/users/mau
sudo mkdir /home/users/mau
sudo chown -R docker_worker:docker_worker /home/users
  1. Add users and passwords for these users in shinyproxy/application.yml

  2. Run docker-compose up to start the data science portal

docker compose up

Some Notes

To get the terminal working in RStudio: Tools > Global Options > Terminal and uncheck Connect with Websockets

You can’t perform that action at this time.