Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Note: Jellyfin is clearly using some of Emby code as I saw emby in the logs and my first attempt failed because I'm migrating from Emby, have Emby running and they both use port 8096. For starting, I'll define a portmap and if I leave emby I'll perhaps switch jellyfin to network mode host for DLNA support.

https://jellyfin.org/docs/general/administration/installing.html

No Format
WD=/opt/jellyfin
mkdir -p $WD/{setup,conf,cache}
cd $WD/setup
cat << 'EOF' >docker-compose.yaml
version: '3.7'

services:
 jellyfin:
    container_name: jellyfin
    image: jellyfin/jellyfin
    hostname: jellyfin
#    network_mode: host
    ports:
      - '8394:80'
    volumes:
      - type: bind
        source: /opt/jellyfin/conf/
        target: /config
      - type: bind
        source: /opt/jellyfin/conf/
        target: /cache
    environment:
      - 'TZ=${TZ}'
      - 'JELLYFIN_PublishedServerUrl=${JELLYFIN_PublishedServerUrl}'

EOF
chmod +x docker-compose.yaml

...