-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
17 lines (17 loc) · 1.26 KB
/
docker-compose.yml
File metadata and controls
17 lines (17 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
services:
iptv:
image: akiralereal/iptv:latest # 使用最新版本镜像
container_name: iptv # 自定义容器名称
ports:
- "1905:1905" # 宿主机:容器端口映射
environment:
- muserId= # 可选:咪咕账号ID(留空为游客模式)
- mtoken= # 可选:咪咕登录令牌(用于高画质/VIP)
- mport=1905 # 必须:容器监听端口,与 ports 对应
- mhost= # 可选:外部访问地址(如 http://192.168.1.100:1905)
- mrateType=3 # 画质:2=标清(480p),3=高清(720p),4=蓝光(1080p,需VIP)
- mpass= # 可选:访问密码(设置后访问: http://ip:port/密码/...)
- menableHDR=true # 可选:是否开启HDR
- menableH265=true # 可选:是否开启H265原画(可能有兼容性问题)
- mupdateInterval=6 # 可选:节目信息更新间隔(小时)
restart: always # 容器异常退出后自动重启