docker-xteve

Xteve Docker Project

What is Xteve?

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.

Features

Usage

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 cli

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

Parameters

Containers are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate : respectively. For example, -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 outside the container.

Umask for running applications

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.

User / Group Identifiers

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.

Thanks

xteve-project