forked from Ivasoft/docker-tvheadend
Compare commits
3 Commits
1fa49afb-l
...
ca756e3f-l
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a2fedca57 | ||
|
|
a52f372415 | ||
|
|
0a0a942bde |
24
README.md
24
README.md
@@ -60,15 +60,6 @@ The architectures supported by this image are:
|
|||||||
| arm64 | ✅ | arm64v8-\<version tag\> |
|
| arm64 | ✅ | arm64v8-\<version tag\> |
|
||||||
| armhf| ✅ | arm32v7-\<version tag\> |
|
| armhf| ✅ | arm32v7-\<version tag\> |
|
||||||
|
|
||||||
## Version Tags
|
|
||||||
|
|
||||||
This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.
|
|
||||||
|
|
||||||
| Tag | Available | Description |
|
|
||||||
| :----: | :----: |--- |
|
|
||||||
| latest | ✅ | Current latest release. |
|
|
||||||
| release-4.2 | ✅ | Latest release from 4.2 branch. |
|
|
||||||
|
|
||||||
## Application Setup
|
## Application Setup
|
||||||
|
|
||||||
The setup depends if you run the one of the stable tags or use latest. Running latest is the easiest as it has a setup wizard.
|
The setup depends if you run the one of the stable tags or use latest. Running latest is the easiest as it has a setup wizard.
|
||||||
@@ -146,10 +137,10 @@ services:
|
|||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Europe/London
|
- TZ=Europe/London
|
||||||
- RUN_OPTS=<run options here> #optional
|
- RUN_OPTS= #optional
|
||||||
volumes:
|
volumes:
|
||||||
- <path to data>:/config
|
- /path/to/data:/config
|
||||||
- <path to recordings>:/recordings
|
- /path/to/recordings:/recordings
|
||||||
ports:
|
ports:
|
||||||
- 9981:9981
|
- 9981:9981
|
||||||
- 9982:9982
|
- 9982:9982
|
||||||
@@ -167,11 +158,11 @@ docker run -d \
|
|||||||
-e PUID=1000 \
|
-e PUID=1000 \
|
||||||
-e PGID=1000 \
|
-e PGID=1000 \
|
||||||
-e TZ=Europe/London \
|
-e TZ=Europe/London \
|
||||||
-e RUN_OPTS=<run options here> `#optional` \
|
-e RUN_OPTS= `#optional` \
|
||||||
-p 9981:9981 \
|
-p 9981:9981 \
|
||||||
-p 9982:9982 \
|
-p 9982:9982 \
|
||||||
-v <path to data>:/config \
|
-v /path/to/data:/config \
|
||||||
-v <path to recordings>:/recordings \
|
-v /path/to/recordings:/recordings \
|
||||||
--device /dev/dri:/dev/dri `#optional` \
|
--device /dev/dri:/dev/dri `#optional` \
|
||||||
--device /dev/dvb:/dev/dvb `#optional` \
|
--device /dev/dvb:/dev/dvb `#optional` \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
@@ -194,7 +185,7 @@ Container images are configured using parameters passed at runtime (such as thos
|
|||||||
| `-e PUID=1000` | for UserID - see below for explanation |
|
| `-e PUID=1000` | for UserID - see below for explanation |
|
||||||
| `-e PGID=1000` | for GroupID - see below for explanation |
|
| `-e PGID=1000` | for GroupID - see below for explanation |
|
||||||
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London. |
|
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London. |
|
||||||
| `-e RUN_OPTS=<run options here>` | Optionally specify additional arguments to be passed. See Additional runtime parameters. |
|
| `-e RUN_OPTS=` | Optionally specify additional arguments to be passed. See Additional runtime parameters. |
|
||||||
| `-v /config` | Where TVHeadend show store it's config files. |
|
| `-v /config` | Where TVHeadend show store it's config files. |
|
||||||
| `-v /recordings` | Where you want the PVR to store recordings. |
|
| `-v /recordings` | Where you want the PVR to store recordings. |
|
||||||
| `--device /dev/dri` | Only needed if you want to use your AMD/Intel GPU for hardware accelerated video encoding (vaapi). |
|
| `--device /dev/dri` | Only needed if you want to use your AMD/Intel GPU for hardware accelerated video encoding (vaapi). |
|
||||||
@@ -309,6 +300,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
|||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
|
* **31.08.22:** - Update sample env vars and how RUN_OPTS are handled.
|
||||||
* **19.08.22:** - Switch to new picons builder.
|
* **19.08.22:** - Switch to new picons builder.
|
||||||
* **16.04.22:** - Added URL XMLTV grabber.
|
* **16.04.22:** - Added URL XMLTV grabber.
|
||||||
* **05.01.22:** - Rebase to Alpine 3.15. Disable execinfo to fix builds. Update xmltv.
|
* **05.01.22:** - Rebase to Alpine 3.15. Disable execinfo to fix builds. Update xmltv.
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ bzip2-1.0.8-r1
|
|||||||
ca-certificates-20220614-r0
|
ca-certificates-20220614-r0
|
||||||
ca-certificates-bundle-20220614-r0
|
ca-certificates-bundle-20220614-r0
|
||||||
coreutils-9.0-r2
|
coreutils-9.0-r2
|
||||||
curl-7.80.0-r2
|
curl-7.80.0-r3
|
||||||
expat-2.4.7-r0
|
expat-2.4.7-r0
|
||||||
ffmpeg-4.4.1-r2
|
ffmpeg-4.4.1-r2
|
||||||
ffmpeg-libs-4.4.1-r2
|
ffmpeg-libs-4.4.1-r2
|
||||||
@@ -39,7 +39,7 @@ libbsd-0.11.3-r1
|
|||||||
libbz2-1.0.8-r1
|
libbz2-1.0.8-r1
|
||||||
libc-utils-0.7.2-r3
|
libc-utils-0.7.2-r3
|
||||||
libcrypto1.1-1.1.1q-r0
|
libcrypto1.1-1.1.1q-r0
|
||||||
libcurl-7.80.0-r2
|
libcurl-7.80.0-r3
|
||||||
libdav1d-0.9.2-r0
|
libdav1d-0.9.2-r0
|
||||||
libdrm-2.4.109-r0
|
libdrm-2.4.109-r0
|
||||||
libdvbcsa-1.1.0-r1
|
libdvbcsa-1.1.0-r1
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ available_architectures:
|
|||||||
|
|
||||||
# development version
|
# development version
|
||||||
# development version
|
# development version
|
||||||
development_versions: true
|
development_versions: false
|
||||||
development_versions_items:
|
development_versions_items:
|
||||||
- { tag: "latest", desc: "Current latest release." }
|
- { tag: "latest", desc: "Current latest release." }
|
||||||
- { tag: "release-4.2", desc: "Latest release from 4.2 branch." }
|
- { tag: "release-4.2", desc: "Latest release from 4.2 branch." }
|
||||||
@@ -33,8 +33,8 @@ param_env_vars:
|
|||||||
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
|
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
|
||||||
param_usage_include_vols: true
|
param_usage_include_vols: true
|
||||||
param_volumes:
|
param_volumes:
|
||||||
- { vol_path: "/config", vol_host_path: "<path to data>", desc: "Where TVHeadend show store it's config files." }
|
- { vol_path: "/config", vol_host_path: "/path/to/data", desc: "Where TVHeadend show store it's config files." }
|
||||||
- { vol_path: "/recordings", vol_host_path: "<path to recordings>", desc: "Where you want the PVR to store recordings." }
|
- { vol_path: "/recordings", vol_host_path: "/path/to/recordings", desc: "Where you want the PVR to store recordings." }
|
||||||
param_usage_include_ports: true
|
param_usage_include_ports: true
|
||||||
param_ports:
|
param_ports:
|
||||||
- { external_port: "9981", internal_port: "9981", port_desc: "WebUI" }
|
- { external_port: "9981", internal_port: "9981", port_desc: "WebUI" }
|
||||||
@@ -45,7 +45,7 @@ cap_add_param: false
|
|||||||
# optional container parameters
|
# optional container parameters
|
||||||
opt_param_usage_include_env: true
|
opt_param_usage_include_env: true
|
||||||
opt_param_env_vars:
|
opt_param_env_vars:
|
||||||
- { env_var: "RUN_OPTS", env_value: "<run options here>", desc: "Optionally specify additional arguments to be passed. See Additional runtime parameters." }
|
- { env_var: "RUN_OPTS", env_value: "", desc: "Optionally specify additional arguments to be passed. See Additional runtime parameters." }
|
||||||
opt_param_usage_include_vols: false
|
opt_param_usage_include_vols: false
|
||||||
opt_param_usage_include_ports: false
|
opt_param_usage_include_ports: false
|
||||||
opt_param_device_map: true
|
opt_param_device_map: true
|
||||||
@@ -124,6 +124,7 @@ app_setup_block: |
|
|||||||
|
|
||||||
# changelog
|
# changelog
|
||||||
changelogs:
|
changelogs:
|
||||||
|
- { date: "31.08.22:", desc: "Update sample env vars and how RUN_OPTS are handled." }
|
||||||
- { date: "19.08.22:", desc: "Switch to new picons builder." }
|
- { date: "19.08.22:", desc: "Switch to new picons builder." }
|
||||||
- { date: "16.04.22:", desc: "Added URL XMLTV grabber." }
|
- { date: "16.04.22:", desc: "Added URL XMLTV grabber." }
|
||||||
- { date: "05.01.22:", desc: "Rebase to Alpine 3.15. Disable execinfo to fix builds. Update xmltv." }
|
- { date: "05.01.22:", desc: "Rebase to Alpine 3.15. Disable execinfo to fix builds. Update xmltv." }
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
IFS=" " read -r -a RUN_ARRAY <<< "$RUN_OPTS"
|
|
||||||
|
|
||||||
exec \
|
exec \
|
||||||
s6-setuidgid abc /usr/bin/tvheadend -C -c /config "${RUN_ARRAY[@]}"
|
s6-setuidgid abc /usr/bin/tvheadend -C -c /config $RUN_OPTS
|
||||||
|
|||||||
Reference in New Issue
Block a user