You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
version: "3"services:
iptv-proxy:
build:
context: .dockerfile: Dockerfilecontainer_name: "iptv-proxy"restart: on-failureports:
- 8080:8080environment:
# Port to expose the IPTVs endpointsPORT: 8080# Hostname or IP to expose the IPTVs endpoints (for machine not for docker)HOSTNAME: "0.0.0.0"# change for ipof the server proxyGIN_MODE: releaseUSER_AGENT: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"REFERER: "http://....com"# change for iptv provider domainTIMEOUT: 30000## Xtream-code proxy configurationXTREAM_USER: username # change for iptv provider usernameXTREAM_PASSWORD: password # change for iptv provider passwordXTREAM_BASE_URL: "http://....com"# change for iptv provider domainUSER: my_custom_username # change for custom usernamePASSWORD: my_custom_password # change for custom passwordMETADATA_CACHE_TTL: 5m# cache heavy Xtream metadata (get_series, get_series_info)XMLTV_CACHE_TTL: 30m# cache xmltv.php responses to avoid repeated guide downloads
5. Run it
cd~/iptv-proxy
docker compose down
docker compose up -d --build
------------------------------------------------
To see logs
------------------------------------------------
docker logs iptv-proxy
------------------------------------------------
To change provider and account info
------------------------------------------------
sudo nano ~/iptv-proxy/docker-compose.yml
cd~/iptv-proxy
docker compose down
docker compose up -d --build
About
Reverse proxy on iptv m3u and m3u8 file and xtream codes client api