binhex-tvheadend
Docker app from Binhex's Repository
Tvheadend 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.
Overview
Readme
View on GitHubApplication
Description
Tvheadend 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).
Build notes
Latest stable Tvheadend release from Arch Linux AUR.
Usage
docker run -d \
-p 9981:9981 \
-p 9982:9982 \
--name=<container name> \
-v <path for data files>:/data \
-v <path for config files>:/config \
-v /etc/localtime:/etc/localtime:ro \
--device=/dev/<tuner type> \
-e ENABLE_STARTUP_SCRIPTS=<yes|no> \
-e STARTUP_SCRIPTS_MODE=<wait|parallel> \
-e HEALTHCHECK_COMMAND=<command> \
-e HEALTHCHECK_ACTION=<action> \
-e HEALTHCHECK_HOSTNAME=<hostname> \
-e UMASK=<umask for created files> \
-e PUID=<uid for user> \
-e PGID=<gid for user> \
binhex/arch-tvheadend
Please replace all user variables in the above command defined by <> with the correct values.
Access HTTP
http://<host ip>:9981
Access HTSP
http://<host ip>:9982
Example
docker run -d \
-p 9981:9981 \
-p 9982:9982 \
--name=tvheadend \
-v /apps/docker/tvheadend/recorded:/data \
-v /apps/docker/tvheadend:/config \
-v /etc/localtime:/etc/localtime:ro \
--device=/dev/dvb \
-e ENABLE_STARTUP_SCRIPTS=no \
-e STARTUP_SCRIPTS_MODE=wait \
-e UMASK=000 \
-e PUID=0 \
-e PGID=0 \
binhex/arch-tvheadend
Notes
ENABLE_STARTUP_SCRIPTS when set to yes (default no) will allow a user to
install additional packages from the official Arch Repository or the Arch User
Repository (AUR) via scripts located in the folder /config/tvheadend/scripts/.
STARTUP_SCRIPTS_MODE controls how those scripts are executed, set to wait
(default) to run each script in turn and wait for it to complete before the next
script runs, or parallel to run all scripts at the same time.
User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-
id <username>
If you appreciate my work, then please consider buying me a beer :D
Categories
Download Statistics
Total Downloads Over Time
Related apps
Explore more like this
Explore allLinks
Details
ghcr.io/binhex/arch-tvheadendRuntime arguments
- Web UI
http://[IP]:[PORT:9981]- Network
bridge- Shell
bash- Privileged
- false
- Extra Params
--device=/dev/tuner-type
Template configuration
This is the Web UI port for the application.
- Target
- 9981
- Default
- 9981
This is the container path to your configuration files, e.g. databases, configuration files, logs etc.
- Target
- /config
- Default
- /mnt/user/appdata/tvheadend
This is the container path to your downloaded files or user created content.
- Target
- /data
Specify whether to run startup scripts to install and/or configure additional applications.
- Target
- ENABLE_STARTUP_SCRIPTS
- Default
- no|yes
Specify whether to run the startup scripts sequentially, waiting for each script to complete, or in parallel.
- Target
- STARTUP_SCRIPTS_MODE
- Default
- wait|parallel
Enable or disable healthchecks.
- Target
- ENABLE_HEALTHCHECK
- Default
- yes|no
The command or script to execute, if not specified then the script healthcheck.sh will be used (process, dns and https checking).
- Target
- HEALTHCHECK_COMMAND
The action to execute if the healthcheck command returns a non zero exit code, if not specified the action will be 'exit 1', if you want the container to exit on failure then set the action to 'kill 1'.
- Target
- HEALTHCHECK_ACTION
The hostname used when performing HTTPS and DNS healthchecking.
- Target
- HEALTHCHECK_HOSTNAME
- Default
- google.com
User ID for the running container
- Target
- PUID
- Default
- 99
Group ID for the running container
- Target
- PGID
- Default
- 100
UMASK for the running container
- Target
- UMASK
- Default
- 000