RStudio server with synology and docker

  1. SSH into my synology and run:
sudo su
docker run -d -p 8787:8787 -e USER=<username> -e PASSWORD=<password> andrewheiss/tidyverse-rstanarm
nano /usr/syno/share/nginx/Portal.mustache
  1. add the following to the Location section:
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 86400;
  1. run:
sudo synoservicecfg --restart nginx
Ignacio Martinez avatar
About Ignacio Martinez
research economist, tech enthusiast
comments powered by Disqus