mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 05:15:42 -04:00
build: push tvapp v2 docker files
This commit is contained in:
@@ -1,9 +1,19 @@
|
||||
───────────────────────────────────────────────────────────────
|
||||
TheTvApp Docker Container
|
||||
───────────────────────────────────────────────────────────────
|
||||
This container automatically downloads the m3u8 and xml
|
||||
guide data from
|
||||
- https://github.com/dtankdempse/thetvapp-m3u
|
||||
──────────────────────────────────────────────────────────────────────────────────────────
|
||||
TVApp2 Docker Image
|
||||
──────────────────────────────────────────────────────────────────────────────────────────
|
||||
The TvApp2 image allows you to fetch m3u playlist and EPG data for numerous
|
||||
IPTV services online.
|
||||
|
||||
Once the data is downloaded, you can access the files from
|
||||
the container's webserver.
|
||||
Once the files are fetched by the image, you can visit the self-hosted webpage,
|
||||
copy the links to the m3u and EPG files; and add them to your favorite IPTV app
|
||||
such as Jellyfin, Plex, or Emby.
|
||||
|
||||
For more information about this project; visit the links below:
|
||||
|
||||
TVApp2 Repo https://git.binaryninja.net/pub_projects/tvapp2
|
||||
Base Alpine Image https://github.com/Aetherinox/docker-base-alpine
|
||||
|
||||
If you are making this container available on a public-facing domain,
|
||||
please consider using Traefik and Authentik to protect this container from
|
||||
outside access. Your M3U and EPG files will be available for the public to
|
||||
download and use.
|
||||
|
||||
@@ -4,34 +4,29 @@
|
||||
PUID=${PUID:-911}
|
||||
PGID=${PGID:-911}
|
||||
|
||||
if [[ -z ${AETHERX_READ_ONLY_FS} ]] && [[ -z ${AETHERX_NON_ROOT_USER} ]]; then
|
||||
groupmod -o -g "$PGID" abc
|
||||
usermod -o -u "$PUID" abc
|
||||
if [[ -z ${TVAPP_READ_ONLY_FS} ]] && [[ -z ${TVAPP_NON_ROOT_USER} ]]; then
|
||||
groupmod -o -g "$PGID" dockerx
|
||||
usermod -o -u "$PUID" dockerx
|
||||
fi
|
||||
|
||||
if { [[ -z ${AETHERX_READ_ONLY_FS} ]] && [[ -z ${AETHERX_NON_ROOT_USER} ]]; } || [[ ! ${LSIO_FIRST_PARTY} = "true" ]]; then
|
||||
if { [[ -z ${TVAPP_READ_ONLY_FS} ]] && [[ -z ${TVAPP_NON_ROOT_USER} ]]; } || [[ ! ${TVAPP_FIRST_PARTY} = "true" ]]; then
|
||||
cat /etc/s6-overlay/s6-rc.d/init-adduser/branding
|
||||
else
|
||||
cat /run/branding
|
||||
fi
|
||||
|
||||
if [[ -z ${AETHERX_NON_ROOT_USER} ]]; then
|
||||
echo "
|
||||
User ID ........... $(id -u abc)
|
||||
Group ID .......... $(id -g abc)"
|
||||
if [[ -z ${TVAPP_NON_ROOT_USER} ]]; then
|
||||
echo ""
|
||||
echo " User:Group $(id -u dockerx):$(id -g dockerx)"
|
||||
else
|
||||
echo "
|
||||
User ID ........... $(stat /run -c %u)
|
||||
Group ID .......... $(stat /run -c %g)"
|
||||
echo " User:Group $(stat /run -c %u):$(stat /run -c %g)"
|
||||
fi
|
||||
echo "
|
||||
Port HTTP ......... $(echo $PORT_HTTP)
|
||||
Port HTTPS ........ $(echo $PORT_HTTPS)"
|
||||
echo " (Ports) HTTP/HTTPS $(echo $PORT_HTTP)"
|
||||
echo ""
|
||||
echo '──────────────────────────────────────────────────────────────────────────────────────────'
|
||||
|
||||
echo '───────────────────────────────────────────────────────────────'
|
||||
|
||||
if [[ -z ${AETHERX_READ_ONLY_FS} ]] && [[ -z ${AETHERX_NON_ROOT_USER} ]]; then
|
||||
lsiown abc:abc /app
|
||||
lsiown abc:abc /config
|
||||
lsiown abc:abc /defaults
|
||||
if [[ -z ${TVAPP_READ_ONLY_FS} ]] && [[ -z ${TVAPP_NON_ROOT_USER} ]]; then
|
||||
aetherxown dockerx:dockerx /app
|
||||
aetherxown dockerx:dockerx /config
|
||||
aetherxown dockerx:dockerx /defaults
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user