Restreamer - Add a docker app

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.10
What app is this about: Restreamer

Describe your issue

Hello everyone!

I’m trying to install Restreamer in a Docker container alongside Yunohost.
https://docs.datarhei.com/restreamer
I’ve installed Docker and launched the following command:

docker run -d --restart=always --name restreamer \
  -v /home/restreamer/config:/core/config \
  -v /home/restreamer/data:/core/data \
  -p 8080:8080 \
  -p 8181:8181 \
  -p 1935:1935 \
  -p 1936:1936 \
  -p 6000:6000/udp \
  datarhei/restreamer:latest

I also installed a reverse proxy using the Yunohost app for reverse proxying:
I configured it to point to the root (“/”) of my domain, live.cyragroup.cloud, redirecting to http://127.0.0.1:8080. I followed a guide from the forum with this thread: https://forum.yunohost.org/t/how-to-install-apps-with-docker-on-yunohost-how-i-did-it/20528

Everything seems to work fine when I access my page: I can set up the admin username and password. However, from there, I cannot log in. I get the error: “Can’t load API details.”

What’s odd is that if I enter incorrect credentials, I get the correct error: “Login failed: Unauthorized.” But in my specific case, the API doesn’t seem to be readable.

If I visit https://live.cyragroup.cloud/api/swagger/index.html, the API works and responds with a 200 OK when I send valid credentials. It seems to me like this might be an issue with Nginx or permission configuration. Could it be a CORS issue?

I’ve spent several hours on this and feel stuck—I’m not sure where to look next to figure this out.
The nginx logs don’t seem to provide much more information. The API refresh request returns a 401 error when I reload the page.

Any advice from experts or adventurers who want to help me? :slight_smile:

Thank you so much in advance!

Share relevant logs or error messages

https://paste.yunohost.org/oquxazerot.less

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.