Setting favicon and logo-url with ShinyProxy Operator

Hi,

I deployed ShinyProxy using the ShinyProxy Operator for Docker, following this documentation. Everything worked smoothly and it is now running without any issues. However, I’m having issues adding a favicon or logo-url when using the ShinyProxy Operator. I tried adding the image files to the same directory where the application.yml is placed (/home/shinyproxy/shinyproxy/input) and adding the path to the application.yml. I tried the following paths:

  • favicon-path: favicon.ico
  • favicon-path: /opt/shinyproxy-docker-operator/input/favicon.ico
  • favicon-path: /opt/shinyproxy/favicon.ico

None of these were successful; I always received the following error message:
‘Error while reading favicon: /opt/shinyproxy/favicon.ico: not a regular file’.

Thus, my question: How can I add images for the favicon, logo-url, etc. to ShinyProxy when using the ShinyProxy Operator for Docker?

Any help would be much appreciated!

Hi,
moving the favicon in the templates folder worked fine for me. It’s also a png file (very small 1.4kB), while an ico would probably work also I guess (try eventually converting into a png). So I have:
favicon-path: /opt/shinyproxy/templates/favicon/yourfavicon.png

For the logo-url, it’s a little bit different since you need to add file:// Before the path:
logo-url: file:///opt/shinyproxy/templates/logo/yourlogo.png

1 Like

Hi, thanks! With your help I could solve it.

I moved the favicon here on my server:
/home/shinyproxy/shinyproxy/input/templates/{realm-id}/favicon/favicon.ico

And added the following to my .yaml file:
favicon-path: /opt/shinyproxy/templates/favicon/favicon.ico

Then it worked. Thanks!

1 Like