Have you installed invidious via docker? Every time I build an image and try to install it (either using the official repo or the custom from yewtube), I get errors that the video can’t be played, any suggestions what am I doing wrong?

Cc @selfhost@lemmy.ml @selfhosted@lemmy.world

  • knfrmity@lemmygrad.ml
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    Without more info it’ll be hard to help.

    I got it working in principle, but the Raspberry Pi I wanted to host it on isn’t powerful enough to handle the necessary computing.

  • Brewchin@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    I’ve been running it in Docker for a few months without serious issue. The only problem I’ve seen is website with embedded YT videos and it not liking mixed HTTPS (site) and HTTP (my instance) on the same page, but that’s a CSP issue that can be worked around, depending on your browser or whether you run HTTPS on your network.

    I’m using the quay.io/invidious/invidious:latest and docker.io/library/postgres:14 images and a docker-compose based on this one. The main difference I made was to use a real database directory rather than using a dynamic volume. But other than that, it’s pretty unchanged.

    I also followed https://docs.invidious.io/redirector/ (rules 1-8) to redirect YT URLs to my instance.

  • IndeterminateName@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    I’ve been using ViewTube specifically because it was easier to set up. Although it also fails to play videos occasionally

  • sneakyninjapants@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    Why are you building the image yourself? Not that there’s a problem with that necessarily, but it seems a bit wasteful of your resources unless you have a specific reason to do so. There’s a docker image (quay.io/invidious/invidious:latest) built by the developers that gets updated pretty frequently. I’ve been using it for years now and it’s been working perfectly fine for me the whole time.