A portal to RStudio and Jupyter with ability to host Shiny and Dash apps.
This uses shinyproxy under the hood to manage login and etc. Thi assumes you'll be running on a linux system.
docker
and docker-compose
are installed. docker build -t example_shiny ./shiny
docker build -t example_dash ./dash
docker build -t rstudio ./rstudio
docker build -t jupyter ./jupyter
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
Add users and passwords for these users in shinyproxy/application.yml
Run docker-compose up
to start the data science portal
docker compose up
To get the terminal working in RStudio: Tools
> Global Options
> Terminal
and uncheck Connect with Websockets