Skip to content
Template to deploy Shiny Apps via Docker and ShinyProxy
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Telethon Kids Institute ShinyProxy Docker Template

Docker Ubuntu Server Installation/Set-up

  1. Docker CE for Ubuntu installation:
  2. Follow post-installation instructions:
    1. configuring the daemon.json file will not work with Ubuntu 16.04 (and above), instead add the following to the systemd unit file: ExecStart=/usr/bin/dockerd -H fd:// -H tcp:// -H unix:///var/run/docker.sock
  3. Install docker-compose (optional):
sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

Docker App Deployment

  1. Build Shiny App Docker image:
    1. Change current directory to project folder cd ...
    2. docker build -t telethonkids/new_shiny_app ./<project directory>/webapp
  2. Start Docker containers 3. docker-compose up -d
  3. App is ready on port 80: in browser, go to (windows) or (Ubuntu)

HTTPS encryption

These instructions were used to set up a secure HTTPS connection with Certbot SSL certificates. Also see here.

This will not work out of the box, the NGINX configuration file will need to be updated with your domain name (which is required) at the indicated places in nginx.conf. also needs to be configured with your domain names(s) and email address.

The following commands will need to be run on the host machine in order to obtain the first valid certificates: first run chmod +x then sudo ./

If HTTPS security is not wanted then you will need to remove the indicated chunks of code in nginx.conf.

You can’t perform that action at this time.