this post was submitted on 15 Feb 2026
48 points (96.2% liked)

Selfhosted

59999 readers
642 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

  4. Don't duplicate the full text of your blog or git here. Just post the link for folks to click.

  5. Submission headline should match the article title.

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Does anyone have a compose.yaml for an Nvidia GPU that works that they would like to share? Here's my current file, it gives a white screen with "server error" on it: https://pastebin.com/AaV17cTz

I went through Jellyfin's instructions on setting a GPU up, but the instructions weren't clear (in my opinion) so who knows if it's correct. I installed some Nvidia tools as a prerequisite and 'nvidia-smi' shows the card. I attached my Jellyfin settings from before it self-destructed according to Nvidia's transcoding matrix (which also wasn't descriptive enough in my opinion), do they look right for a 2080?

Update: after making this post, and changing nothing, it suddenly works

you are viewing a single comment's thread
view the rest of the comments
[–] TRBoom@lemmy.zip 5 points 4 months ago

Here's mine, no judging for how I set the ip

name: jellyfin
services:
    jellyfin:
        container_name: jellyfin.live
        networks:
            mynet:
                ipv4_address: 192.168.5.3
        ports:
            - 8096:8096
        volumes:
            - jellyfin-config:/config
            - jellyfin-cache:/cache
            - type: bind
              source: /mnt
              target: /Media Disk 1
            - type: bind
              source: /mnt
              target: /Media Disk 2
            - type: bind
              source: /mnt
              target: /Media Disk 3
        environment:
            - HEALTHCHECK_URL=192.168.5.3
        restart: unless-stopped
        deploy:
            resources:
                reservations:
                    devices:
                        - driver: nvidia
                          count: all
                          capabilities:
                              - gpu
        image: jellyfin/jellyfin:latest
networks:
    mynet:
        external: true
        name: mynet
volumes:
    jellyfin-config:
        external: true
        name: jellyfin-config
    jellyfin-cache:
        external: true
        name: jellyfin-cache

The section on the GPU looks like yours. I had to do something to get it working, but it's been forever.