Xteve is a m3u proxy server for Plex DVR and Emby Live TV, it is also could be used for jellyfin, kodi, potplayer and other software which is support m3u stream player on pc or Apps on mobiole and smart TV.
This docker project is based on xteve-project without ffmpeg and vlc player, with only 8M size from my base alpine linux image.
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
networks:
vnet:
name: vnet
driver: bridge
ipam:
driver: default
config:
- gateway: 10.0.0.1
subnet: 10.0.0.0/24
driver_opts:
com.docker.network.bridge.name: vnet
services:
xteve:
container_name: Xteve
image: registry.cn-chengdu.aliyuncs.com/clion/Xteve:latest
environment:
- UMASK=022
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
networks:
vnet:
ipv4_address: 10.0.0.9 # set to your local ip adress
volumes:
- /etc/localtime:/etc/localtime:ro
- /path/to/xteve/library:/config
ports:
- 34400:34400 #optional
restart: unless-stopped
docker run -d \
--name=Xteve \
--net='vnet' \
--ip='10.*.*.*' \
-e 'UMASK'='022' \
-e PUID=1000 \
-e PGID=1000 \
-p 34400:34400 `#optional` \
-v /path/to/config:/config \
-v /etc/localtime:/etc/localtime:ro \
--restart unless-stopped \
registry.cn-chengdu.aliyuncs.com/clion/xteve:latest
Get more help in settings, you can read the documents of Xteve Offical
Containers are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate
--net='vnet'
for network - Virtual network card on your host for docker.--ip='10.*.*.*'
for IP address of container -Dedicated IP address in your local network.-p 34400
Optional - Http webUI (you need to set up your own certificate), not need by default.-e PUID=99
for UserID - see below for explanation.-e PUID=100
for GroupID - see below for explanation.-e UMASK=022
for UMASK - see below for explanation.-v /config
Persistent config files storage location.For all of my images I provide the ability to override the default umask settings for services started within the containers using the optional -e UMASK=022 setting. Keep in mind umask is not chmod it subtracts from permissions based on it’s value it does not add.
When using volumes (-v flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID and group PGID.
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.