mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 05:15:42 -04:00
feat: add gateway and server address ip / port to console on startup
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
──────────────────────────────────────────────────────────────────────────────────────────
|
||||
TVApp2 Docker Image
|
||||
TVApp2 Docker Image
|
||||
──────────────────────────────────────────────────────────────────────────────────────────
|
||||
The TvApp2 image allows you to fetch m3u playlist and EPG data for numerous
|
||||
IPTV services online.
|
||||
IPTV services online.
|
||||
|
||||
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:
|
||||
For more information about this project; visit the links below. This app is
|
||||
served on multiple repositories as backup. Use any of the repo links below:
|
||||
|
||||
TVApp2 Repo https://git.binaryninja.net/pub_projects/tvapp2
|
||||
TVApp2 Repo 1 https://github.com/iFlip721/tvapp2
|
||||
TVApp2 Repo 2 https://github.com/Aetherinox/tvapp2
|
||||
TVApp2 Repo 3 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,
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
PUID=${PUID:-911}
|
||||
PGID=${PGID:-911}
|
||||
|
||||
IP_GATEWAY=$(/sbin/ip route|awk '/default/ { print $3 }')
|
||||
IP_CONTAINER=$(ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1')
|
||||
|
||||
if [[ -z ${TVAPP_READ_ONLY_FS} ]] && [[ -z ${TVAPP_NON_ROOT_USER} ]]; then
|
||||
groupmod -o -g "$PGID" dockerx
|
||||
usermod -o -u "$PUID" dockerx
|
||||
@@ -21,7 +24,9 @@ echo " User:Group $(id -u dockerx):$(id -g dockerx)"
|
||||
else
|
||||
echo " User:Group $(stat /run -c %u):$(stat /run -c %g)"
|
||||
fi
|
||||
echo " (Ports) HTTP/HTTPS $(echo $PORT_HTTP)"
|
||||
echo " Port(s) $(echo $PORT_HTTP)"
|
||||
echo " Gateway $(echo $IP_GATEWAY)"
|
||||
echo " Web Server $(echo $IP_CONTAINER:$PORT_HTTP)"
|
||||
echo ""
|
||||
echo '──────────────────────────────────────────────────────────────────────────────────────────'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user