With the exciting release of Netflix’s PolyNote (DockerHub), I was eager to see if it could run behind ShinyProxy. I tried it out and am faced with the same issue described here:
When trying to connect from the browser to `hostname-machine:/polynote’ I see connections arriving in the server log but the browser page remains blank and no errors is logged anywhere
Any ideas if/how this issue could be resolved from a ShinyProxy perspective?
Cheers,
Donald
EDIT: Another example of a user having this exact issue behind an NGINX proxy. --> https://stackoverflow.com/questions/58616596/nginx-proxy-is-not-loading-static-files
EDIT: Here are the files used in the setup…
- docker-compose.yml
version: '3.5'
services:
shinyproxy:
image: openanalytics/shinyproxy
networks:
- polynote
ports:
- 8080:8080
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- './application.yml:/opt/shinyproxy/application.yml'
networks:
polynote:
name: polynote
- application.yml
proxy:
title: PolyNote testing
hide-navbar: false
admin-groups: ['admins']
authentication: simple
users:
- name: admin
password: admin
groups: admins
port: 8080
landing-page: /
container-wait-time: 30000
heartbeat-rate: 15000
heartbeat-timeout: 120000
docker:
internal-networking: true
specs:
- id: polynote
display-name: PolyNote
description: Full Screen
container-image: polynote/polynote
container-network: polynote
container-volumes:
- '/absolute/path/to/config.yml:/opt/polynote/config.yml'
port: 8192
access-groups: [ 'admins' ]
- config.yml (polynote config file)
listen:
host: 0.0.0.0
port: 8192
ui:
base_uri: /