I checked the app runs fine inside docker using the command (it takes around 21 seconds to have access to url)
docker run -it -p 3838:3838 shiny_app
I used exactly the same config as shown in the Shinyproxy documentation page
here my application.yml file
proxy:
title: Open Analytics Shiny Proxy
logo-url: http://www.openanalytics.eu/sites/www.openanalytics.eu/themes/oa/logo.png
landing-page: /
heartbeat-rate: 10000
heartbeat-timeout: 60000
container-wait-time: 100000
port: 8080
authentication: simple
admin-groups: scientists
# Example: 'simple' authentication configuration
users:
- name: jack
password: password
groups: scientists
- name: jeff
password: password
groups: mathematicians
# Docker configuration
docker:
cert-path: /home/none
url: http://localhost:2375
port-range-start: 20000
specs:
- id: shinyapp
#display-name: Hello Application
#description: Application which demonstrates the basics of a Shiny app
#container-cmd: ["R", "-e", "shiny::runApp('/root/euler')"]
container-image: shiny_app
access-groups: [scientists, mathematicians]
logging:
file:
shinyproxy.log
I tried to add container-wait-time, heartbeat-rate but still showing undefined in the navigator after clicking on the app. I had to return to previous page and re-click on the app url to finally have access
Any ideas what could be wrong on the yml file ?