From 8c7b2d6175412978447c46beafe4a2d0e88f2f65 Mon Sep 17 00:00:00 2001 From: Yu Li Date: Tue, 16 Jun 2020 16:01:13 +0200 Subject: [PATCH] - update the instruction; - change the heartbeat setting in Shinyproxy; --- config/shinyproxy/application.yml | 6 +++--- doc/README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/shinyproxy/application.yml b/config/shinyproxy/application.yml index 6630035..aac861d 100644 --- a/config/shinyproxy/application.yml +++ b/config/shinyproxy/application.yml @@ -2,8 +2,8 @@ proxy: port: 8080 container-log-path: /container-logs authentication: simple - heartbeat-rate: 10000 - heartbeat-timeout: 60000 + heartbeat-rate: 60000 + heartbeat-timeout: 1800000 admin-groups: admins users: - name: admin # username @@ -33,7 +33,7 @@ proxy: container-cmd: ["R", "-e", "shiny::runApp('/root/shinyapp', host='0.0.0.0', port=3838)"] container-image: cocomcie/test_ic container-network: "${proxy.docker.container-network}" - access-groups: [admins, scientists, stakeholder] + access-groups: [admins, stakeholder] - id: 03_testApp display-name: airGR description: Web-app of GR Hydrological Models for Precipitation-Runoff Modelling diff --git a/doc/README.md b/doc/README.md index f693832..cc39bc4 100644 --- a/doc/README.md +++ b/doc/README.md @@ -84,7 +84,7 @@ First of all, please download the framework from [here](htpps://www.example.com) docker pull cocomcie/virtue ``` This step only needs to be done once. -4. Start the program by typing `docker-compose -f run_examples.yml up -d`. Now the system should be running on background; +4. Start the program by typing `docker-compose -f run_examples.yml up -d`. The program will download a few necessary packages (takes about 2-3 mins depending on Internet connection), and then it should be running in the background; 5. On the browser, one can then access the database and the apps as below: - **Shiny apps**: visit `http://localhost:80` and login the app using a valid username and password. A list of legitimate users are given below: