2024-11-12, 07:47 PM
(This post was last modified: 2024-11-12, 07:59 PM by aazam476. Edited 1 time in total.)
(2024-11-12, 01:53 PM)TheDreadPirate Wrote: Can you share your docker compose?
I am using Linuxserver's docker image, but the issue that is happening occurs when using either the official image or Linuxserver's image.
Code:
version: '3'
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
restart: unless-stopped
env_file: stack.env
runtime: nvidia
volumes:
- config:/config
- /media/jellyfin/transcodes:/transcodes
- /media/jellyfin/movies:/movies
- /media/jellyfin/tvshows:/tvshows
networks:
- default
- traefik
- jellyfin
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
labels:
- traefik.enable=true
- traefik.http.routers.jellyfin.rule=Host(`...`)
- traefik.http.routers.jellyfin.entrypoints=websecure
- traefik.http.routers.jellyfin.tls.certresolver=myresolver
- traefik.http.services.jellyfin.loadbalancer.server.port=8096
volumes:
config:
cache:
networks:
default:
traefik:
external: true
jellyfin:
external: true