Hi! I need some help please, I can’t seem to be able to figure this out myself.


Stremio: The Next Generation Media Center

They have a docker container with the backend, and they also have the web frontend Dockerfile.

I am running already the backend with docker, but if you go to the ip:port it will redirect to Stremio’s own hosted frontend, that then uses your backend.

But I instead want to host both the frontend and backend, has someone already done this before? I couldn’t find much and the Dockerfile is not of much help.

Thank you!

  • SmallAlmond@lemmy.dbzer0.comOP
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    1 year ago

    I managed to selfhost the web interface, but I encountered an issue that I don’t think I can fix…

    I used this docker run command (not compose yet, just testing)

    docker run -it --rm --name stremio-web -p 8080:8080 node:alpine sh -c """ apk add git git clone https://github.com/stremio/stremio-web --depth 1 cd stremio-web npm install npm run build npm install -g http-server http-server build/ -p 8080 -d false """

    And I can reach the web ui. Now I can go into the settings page and set the backend url, which works perfectly. But when I go to the discover page nothing loads because it wants to reach stremio’s own servers.

    Note: To access my selfhosted services I use a firefox profile that doesn’t have access to the internet, to be able to fully seflhost my stuff, that’s why the connection to their servers is blocked.

    v3-cinemeta.strem.io GET

    Is there a way to proxy these remote connections from the backend or am I just lost at this point?

    • Mike@fikaverse.club
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      @SmallAlmond I don’t know much about streamio, but I noticed this on their webpage;

      “There is also a Guest mode at signup, which requires no data whatsoever: in this mode, no calls are made to our backend. However, it comes at the expense of useful features, such as being able to sync your library across devices.”

      🤔

      • SmallAlmond@lemmy.dbzer0.comOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I mean… That’s what the webui I deployed has, the “guest mode login”, but it still makes those http requests to their servers :/