基于容器云批量部署高可用的ShinyApp
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
liujason 22e5dffcbc 更新 'README.md' 7 months ago
sample inputdata 7 months ago
LICENSE Initial commit 8 months ago
README.md 更新 'README.md' 7 months ago
index.html 添加 'index.html' 8 months ago
init.sh 更新 'init.sh' 7 months ago

README.md

Shiny-HA-Demo

基于容器云批量部署高可用的ShinyApp

部署方式

  1. 使用Git仓库托管ShinyApp的代码(例如:RCoding.Net
  2. 完成部署后最好先本地测试一下是否能正常运行
  3. 使用容器云部署Shiny集群(例如:云筏CloudRaft容器云):
    • 前端Nginx做负载均衡
    • 后端横向扩展Shiny-Server的Docker容器
  4. 给Docker设置启动脚本,从Git仓库拉取最新ShinyApp的代码: /usr/bin/shiny-server.sh && apt-get install sudo curl -y && cd /srv/shiny-server/ && rm /srv/shiny-server/* -rf && wget https://rcoding.net/CloudRaft/Shiny-HA-Demo/raw/branch/master/init.sh --no-check-certificate && bash init.sh
  5. 部署完成