version: "3.5" services: jellyfin: container_name: linuxserver-jellyfin image: lscr.io/linuxserver/jellyfin security_opt: - no-new-privileges:true networks: - custom-bridge restart: unless-stopped ports: - ${JELLYFIN_SVC_DSC_PORT:-1900}:1900/udp - ${JELLYFIN_WEBUI_PORT:-8096}:8096 - ${JELLYFIN_CLT_DSC_PORT:-7359}:7359/udp env_file: .env volumes: - ${JELLYFIN_CONFIG:-/home/docker/jellyfin/config}:/config - ${JELLYFIN_DATA:-/home/docker/jellyfin/data}:/data devices: - /dev/dri:/dev/dri networks: custom-bridge: name: custom-bridge driver: bridge