️IPTV直播源自动更新工具:自动采集、校验、测速并生成可播放结果,支持 M3U/TXT/API 输出、自定义频道、IPv4/IPv6、Docker、GitHub Actions、CLI 与 GUI 多端部署
docker pull guovern/iptv-api
docker run -d --name iptv-api -p 80:80 --restart always guovern/iptv-api:latest
podman run -d --name iptv-api -p 80:80 --restart always guovern/iptv-api:latest
skopeo inspect docker://docker.io/guovern/iptv-api:latest
oras pull guovern/iptv-api:latest
docker compose up -d
services:
iptv-api:
image: guovern/iptv-api:latest
container_name: iptv-api
restart: unless-stopped
tty: true
stdin_open: true
ports:
- "${PORT:-80}:8080"
volumes:
- /iptv-api/config:/iptv-api/config
- /iptv-api/output:/iptv-api/output
environment:
PUBLIC_SCHEME: "http"
# Replace with your public domain or IP
PUBLIC_DOMAIN: "127.0.0.1"
PUBLIC_PORT: "${PORT:-80}"
# Recommended: set a complete external URL, e.g. http://192.168.1.10
# An unset/empty value keeps public_url from the mounted config.
PUBLIC_URL: "${PUBLIC_URL:-}"
# Advanced compatibility setting; normally keep the container port unchanged
NGINX_HTTP_PORT: "8080"
CDN_URL: ""
# Used only for subscription sources and EPG data, not media speed tests
HTTP_PROXY: ""