services: jellyfin: image: lscr.io/linuxserver/jellyfin:latest container_name: jellyfin_jellyfin restart: "no" networks: - web ports: - 8096:8096 - 8920:8920 env_file: - path: ./jellyfin.env required: true volumes: - "${MOVIES_DIR}:/data/movies" - "${SHOWS_DIR}:/data/tvshows" - "${DOCKER_DATA}/jellyfin:/config" labels: - traefik.http.routers.jellyfin.rule=Host(`jellyfin.jafner.net`) - traefik.http.routers.jellyfin.tls.certresolver=lets-encrypt networks: web: external: true