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.

23 lines
1.4 KiB
Bash

3 years ago
# Tvheadend works as a proxy server: is a TV streaming server and recorder for
# Linux, FreeBSD and Android supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC,
# ISDB-T, IPTV, SAT>IP and HDHomeRun as input sources. Tvheadend offers the HTTP
# (VLC, MPlayer), HTSP (Kodi, Movian) and SAT>IP streaming. Multiple EPG sources
# are supported (over-the-air DVB and ATSC including OpenTV DVB extensions,
# XMLTV, PyXML).
source ./.env
docker run -d \
--name=tvheadend \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
3 years ago
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
3 years ago
-e RUN_OPTS=<run options here> `# optional` `# Optionally specify additional arguments to be passed. See Additional runtime parameters.` \
-p 9981:9981 `# WebUI` \
-p 9982:9982 `# HTSP server port.` \
-v ${BASEDIR:-/volume1/docker}/tvheadend/config:/config `# Where TVHeadend show store it's config files.` \
-v ${BASEDIR:-/volume1/docker}/tvheadend/recordings:/recordings `# Where you want the PVR to store recordings.` \
--device /dev/dri:/dev/dri `# optional` `# Only needed if you want to use your AMD/Intel GPU for hardware accelerated video encoding (vaapi).` \
--device /dev/dvb:/dev/dvb `# optional` `# Only needed if you want to pass through a DVB card to the container. If you use IPTV or HDHomeRun you can leave it out.` \
--restart unless-stopped \
ghcr.io/linuxserver/tvheadend