TLS for RStudio and Shiny using Let's Encrypt

Post by Brandon Bertelsen

r, docker, IDE

Below is a very simple way to have https connections for the open source version of RStudio Server and Shiny Server. sudo apt-get install docker sudo apt-get install python-pip sudo pip install docker-compose Now, in your user directory, create a text file using your preferred text editor, called docker-compose.yml,…

Example gitlab-ci.yml for R Projects

Post by Brandon Bertelsen

r, docker, gitlab

Most people are running open source projects, so they can easily use github and travis for free. I don't have that luxury, but gitlab has really caught my attention lately. Combining gitlab, gitlab runner with docker makes things very straightforward. Here is an example .gitlab-ci.yml file that you would…

Radial Plots with Plotly

Post by Brandon Bertelsen

r, visualization

How to make a radial plot without using radial coordinates with plotly. Let's load a few libraries and pull some sample data. Then do some preparation by adding data associated with turning the graphic into a circle. A trivial application of high school SOHCATTOA, and finally plot. Comments included at…

Multiple Container Docker Usage

Post by Brandon Bertelsen

docker

What's wrong? Here are some ways that you can look at what's going on with your setup. docker logs <container_name> docker exec \ nginx-proxy cat \ /etc/nginx/conf.d/default.conf Multiple containers, one host jwilder/nginx-proxy automatically adds routing for multiple containers. Very handy. docker run -d…

Using get with Ghost Blogs

Post by Brandon Bertelsen

Ghost

I love the concept of ghost and it's implementation, but, like many I dislike having to wait for what I see as rather basic features expected of a blogging platform. Thankfully the dev team over at Ghost has released a beta version of the public api, and it's surprisingly easy…