mirror of
https://github.com/technorabilia/docker-bits
synced 2024-11-10 13:10:31 +00:00
23 lines
1.5 KiB
Bash
23 lines
1.5 KiB
Bash
# [Tvheadend](https://www.tvheadend.org/) 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).
|
|
|
|
. ./.env
|
|
docker run -d \
|
|
--name=tvheadend \
|
|
-e PUID=${PUID:-1024} `# for UserID` \
|
|
-e PGID=${PGID:-100} `# for GroupID` \
|
|
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
|
|
-e RUN_OPTS= `# 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
|