This repository contains a simple production-ready containerized ShinyProxy server for ICJIA.
Note: Before deploying ShinyProxy, make sure to have images for all apps are ready and available for ShinyProxy to use.
git clone icjia/shinyproxy-containerized
sudo docker-compose up -d --build
Updating an existing app is as simple as pulling the up-to-date image from Docker Hub.
For example:
sudo docker pull icjia/ucr-index-offense-explorer
sudo docker pull icjia/violent-crime-in-illinois:1.1
Note: First try out the changes on a local machine, push the change to remote repositories, and pull the changes from the production server.
Do NOT make changes directly on the production server!
Edit /shinyproxy/application.yml
to make changes. See Configuration on the official documentation to learn more.
Edit Dockerfile
to switch to a different ShinyProxy version.
git push origin master
git pull origin master
Note: This will incur a short downtime.
sudo docker-compose up -d --build shinyproxy