You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.9 KiB
YAML

# [Jellyfin](https://jellyfin.github.io/) is a Free Software Media System that
# puts you in control of managing and streaming your media. It is an alternative
# to the proprietary Emby and Plex, to provide media from a dedicated server to
# end-user devices via multiple apps. Jellyfin is descended from Emby's 3.5.2
# release and ported to the .NET Core framework to enable full cross-platform
# support. There are no strings attached, no premium licenses or features, and
# no hidden agendas: just a team who want to build something better and work
# together to achieve it.
---
version: "2.1"
services:
jellyfin:
image: ghcr.io/linuxserver/jellyfin
container_name: jellyfin
environment:
# for GroupID
- PUID=${PUID:-1024}
# for UserID
- PGID=${PGID:-100}
# Specify a timezone to use for example Europe/Amsterdam
- TZ=${TZ:-Europe/Amsterdam}
# Set the autodiscovery response domain or IP address.
- JELLYFIN_PublishedServerUrl=192.168.0.5 # optional
volumes:
# Jellyfin data storage location. *This can grow very large, 50gb+ is likely for a large collection.*
- ${BASEDIR:-/volume1/docker}/jellyfin/config:/config
# Media goes here. Add as many as needed e.g. `/data/movies`, `/data/tv`, etc.
- ${BASEDIR:-/volume1/docker}/jellyfin/data/tvshows:/data/tvshows
# Media goes here. Add as many as needed e.g. `/data/movies`, `/data/tv`, etc.
- ${BASEDIR:-/volume1/docker}/jellyfin/data/movies:/data/movies
ports:
# Http webUI.
- 8096:8096
# Optional - Https webUI (you need to set up your own certificate).
- 8920:8920 # optional
# Optional - Allows clients to discover Jellyfin on the local network.
- 7359:7359/udp # optional
# Optional - Service discovery used by DNLA and clients.
- 1900:1900/udp # optional
restart: unless-stopped