Skip to content

IPTVnator IPTVnator

Build Status Last Commit OCI Pulls

Cross-platform IPTV player web app supporting M3U/M3U8 playlists, Xtream Codes, and Stalker portals.

Port 4333
Registry ghcr.io/daemonless/iptvnator
Daemonless daemonless/iptvnator
Source 4gray/iptvnator
Website 4gray.github.io/iptvnator

Prerequisites

Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions, including the security model for host vs. container privileges.

Deployment

Customize Paths, UID & Ports
services:
  iptvnator:
    image: "ghcr.io/daemonless/iptvnator:latest"
    container_name: iptvnator
    environment:
      - PUID=1000  # User ID for the application process
      - PGID=1000  # Group ID for the application process
      - TZ=Etc/UTC  # Timezone for the container
      - BACKEND_URL=/api  # Browser-facing backend API path used by the PWA
      - CLIENT_URL=http://localhost:4333  # Allowed browser origin(s) for backend CORS (comma-separated)
      - IPTVNATOR_STORAGE=server  # Storage mode: 'server' persists data in /config, 'none' runs stateless
      - IPTVNATOR_PROXY_ALLOW_PRIVATE_NETWORKS=0  # Set to '1' to allow proxying private/LAN IPTV endpoints
      # - IPTVNATOR_ACCESS_TOKEN=  # Shared access token required by clients before accessing the library
    volumes:
      - "/containers/iptvnator:/config"
    ports:
      - "4333:4333"
    # always (not unless-stopped) so FreeBSD's podman rc.d auto-starts it at boot
    restart: always

Save as compose.yaml, then run podman-compose up -d.

Warning

Exposing ports in AppJail means that your service can be reached from remote hosts. If that is not your intention, do not expose the ports and communicate with the service using the jail's IPv4 address or hostname assigned by the virtual network.

# .env

DIRECTOR_PROJECT=iptvnator
PUID=1000
PGID=1000
TZ=Etc/UTC
BACKEND_URL=/api
CLIENT_URL=http://localhost:4333
IPTVNATOR_STORAGE=server
IPTVNATOR_PROXY_ALLOW_PRIVATE_NETWORKS=0
# appjail-director.yml

options:
  - virtualnet: ':<random> default'
  - nat:
services:
  iptvnator:
    name: iptvnator
    options:
      - container: 'args:--pull'
      - expose: '4333:4333 proto:tcp'
    oci:
      user: root
      environment:
        - PUID: !ENV '${PUID}'
        - PGID: !ENV '${PGID}'
        - TZ: !ENV '${TZ}'
        - BACKEND_URL: !ENV '${BACKEND_URL}'
        - CLIENT_URL: !ENV '${CLIENT_URL}'
        - IPTVNATOR_STORAGE: !ENV '${IPTVNATOR_STORAGE}'
        - IPTVNATOR_PROXY_ALLOW_PRIVATE_NETWORKS: !ENV '${IPTVNATOR_PROXY_ALLOW_PRIVATE_NETWORKS}'
    volumes:
      - iptvnator: /config
volumes:
  iptvnator:
    device: '/containers/iptvnator'
1
2
3
4
5
6
7
# Makejail

ARG tag=latest

OPTION container=boot
OPTION overwrite=force
OPTION from=ghcr.io/daemonless/iptvnator:${tag}

Save the files above, then run appjail-director up.

Install and manage IPTVnator on FreeBSD with fjord:

fjord install iptvnator

Or open the App Store in the fjord web UI and install IPTVnator from the wizard. New to fjord? See the Install Guide.

Experimental

Bastille's OCI support is experimental. It requires buildah and shares the host network stack (inherit). Mount volumes with --volume HOST JAIL; without it, image-declared volumes are stored under ${bastille_volumesdir}/${jail}.

services:
  iptvnator:
    name: iptvnator
    image: "ghcr.io/daemonless/iptvnator:latest"
    network:
      - mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - BACKEND_URL=/api
      - CLIENT_URL=http://localhost:4333
      - IPTVNATOR_STORAGE=server
      - IPTVNATOR_PROXY_ALLOW_PRIVATE_NETWORKS=0
    volumes:
      - "/containers/iptvnator:/config"

Save as bastille-compose.yml, then run bastille up.

Open http://<server>:4333 from another machine (the server's own browser can't use a published port).

Parameters

Environment Variables

Variable Default Description
PUID 1000 User ID for the application process
PGID 1000 Group ID for the application process
TZ Etc/UTC Timezone for the container
BACKEND_URL /api Browser-facing backend API path used by the PWA
CLIENT_URL http://localhost:4333 Allowed browser origin(s) for backend CORS (comma-separated)
IPTVNATOR_STORAGE server Storage mode: 'server' persists data in /config, 'none' runs stateless
IPTVNATOR_PROXY_ALLOW_PRIVATE_NETWORKS 0 Set to '1' to allow proxying private/LAN IPTV endpoints
IPTVNATOR_ACCESS_TOKEN <IPTVNATOR_ACCESS_TOKEN> Shared access token required by clients before accessing the library

Volumes

Path Description
/config Application data directory (SQLite database under /config/databases)

Ports

Port Protocol Description
4333 TCP Web UI and proxied backend API

Version Tags

Tag Description Best For
latest Upstream Binary. Built from official release. Most users — recommended.

Implementation Details

  • Architectures: amd64
  • User: bsd (UID/GID set via PUID/PGID). Defaults to 1000:1000.
  • Base: Built on ghcr.io/daemonless/base (FreeBSD 15.1).

Need help? Join our Discord community.