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.
git clone https://github.com/mapic/shiny.git
cd shiny
Edit the config/shiny-server.conf. See http://docs.rstudio.com/shiny-server/#configuration-settings for details on configuration settings.
Edit the config/nginx.conf and config/nginx.certbot.conf and replace the server_name values with your domain.
Edit the config/auth0.env file (copy it from the default auth0.env.default file first).
That's it!
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
bash start-shiny-server-pro.sh# stop server
bash stop-shiny-server-pro.sh
# (use ctrl-c to exit logs and keep containers running)# show logs
docker-compose logs -f# show running docker containers
docker ps