Skip to content
forked from mapic/shiny

Docker Compose setup for Shiny Server Pro running with Auth0, nginx and Floating License

License

Notifications You must be signed in to change notification settings

arraisgabriel/shiny

 
 

Repository files navigation

Shiny Server Pro

About

These are the Docker Compose files for a Shiny Server Pro. It includes:

  • Shiny Server Pro 1.5.9 running on Ubuntu 16.04 (mapic/shiny-server-pro)
  • Shiny Floating License Server (mapic/shiny-floating-license-server)
  • Multi-factor authentication with Auth0 (mapic/shiny-auth0)
  • Reverse-proxying with NginX (mapic/shiny-nginx)

Please see the RStudio Documentation for more information.

Install

git clone https://github.com/mapic/shiny.git
cd shiny

Configure

Configure Shiny

Edit the config/shiny-server.conf. See http://docs.rstudio.com/shiny-server/#configuration-settings for details on configuration settings.

Configure NginX

Edit the config/nginx.conf and config/nginx.certbot.conf and replace the server_name values with your domain.

Configure Auth0

Edit the config/auth0.env file (copy it from the default auth0.env.default file first).

That's it!

Run

Start Floating License Server

In order for the Shiny Server Pro server to work, you need to have a running floating license server. Please see https://github.com/mapic/shiny-floating-license-server.docker for easy install.

Start server

# start server
bash start-shiny-server-pro.sh

Stop server

# stop server
bash stop-shiny-server-pro.sh
# (use ctrl-c to exit logs and keep containers running)

Show logs

# show logs
docker-compose logs -f

Show running Docker containers

# show running docker containers
docker ps

About

Docker Compose setup for Shiny Server Pro running with Auth0, nginx and Floating License

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%