services: jellyfin: image: jellyfin/jellyfin container_name: jellyfin user: 1000:1000 group_add: - "992" network_mode: 'host' volumes: - /home/becktionary/docker_workspaces/jellyfin/config:/config - /home/becktionary/docker_workspaces/jellyfin/cache:/cache - /mnt/nas_media:/media #- type: bind # source: /path/to/media2 # target: /media2 # read_only: true # Optional - extra fonts to be used during transcoding with subtitle burn-in #- type: bind # source: /path/to/fonts # target: /usr/local/share/fonts/custom # read_only: true restart: 'unless-stopped' # Optional - alternative address used for autodiscovery devices: - /dev/dri/renderD128:/dev/dri/renderD128 ports: - 8096 environment: - JELLYFIN_PublishedServerUrl=http://192.168.50.43 # Optional - may be necessary for docker healthcheck to pass if running in host network mode extra_hosts: - 'host.docker.internal:host-gateway'